Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Error with Web app after installation

web-app

I just recently downloaded Gemini 205

SQL installed fine
Web app installed without errors

I have configured the web.config as instructed.

But when I run http://localhost/gemini I get an error below, a permission error. Seems easy enough to fix, but the Gemini subfolder in the path listed below doesn't even exist ("Temporary ASP.NET Files" is as far as it goes)!  So I'm unsure what to do.  I just tried giving the permissions to the entire Tree and re-installed but I still get the same error.

Chris

Server Error in '/Gemini' Application.

Access to the path "D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\gemini\34bcc620\963c69e0" is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path "D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\gemini\34bcc620\963c69e0" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSRMACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[UnauthorizedAccessException: Access to the path "D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\gemini\34bcc620\963c69e0" is denied.]
   System.IO._Error.WinIOError(Int32 errorCode, String str) +393
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
   System.IO.Directory.CreateDirectory(String path) +195
   System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85
   System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97
   System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
   System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91
   System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +178
   System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
   System.Web.UI.TemplateParser.GetParserCacheItem() +99
   System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
   System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
   System.Web.HttpApplicationFactory.Init(HttpContext context) +485
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414

duffman071
· 1
duffman071
Replies (2)
helpful
0
not helpful

Well I sort of figured out my own problem.  I tried giving FULL access to EVERYONE and it worked. I guess Gemini was trying to create a directory, not just read it.  But I don't like giving EVERYONE write access, so which user(s) should I add full access to ?  I tried enabled full access to just a couple of accounts mentioned in the docs, but that didn't work:  IUSER_MACHINE and ASP.NET Machine Account.


duffman071
· 1
duffman071
helpful
0
not helpful

This error occurs because there is no ASPNET permission assign to the temporary folder.

Please run aspnet_regiis.exe -ir

You can usually find this under C::\Windows\Microsoft.Net\Framework\v1.1.4322 directory. In your case it might be D drive.

Hope this will solve ur problem.

 


Saar Cohen
· 5000
Saar Cohen