Actually, just wanted to clarify. I start getting the "Parser Errror: could
not load type cig.global" after I run the web application locally.
- Chad
"Chad Crowder" <chad@spam_me_not.chad> wrote in message
news:uFp4Dfb5DHA.2496@TK2MSFTNGP09.phx.gbl...[color=blue]
> 1. The Access Denied error you described is the one I was receiving.
> 2. I used windows authentication for the web application, I've also tried
> to make the user account a domain administrator
> 3. A local machine account won't have access to the source code on a[/color]
network[color=blue]
> storage array.
>
> Also, when I said it worked locally, that was to mean that if I copied the
> source code to the local computer (drive C:), configure IIS for the app,[/color]
it[color=blue]
> runs fine.
>
> I just can't get it to work when the source code is remote. I also have[/color]
ran[color=blue]
> into the error:
> Parser Error Message: Could not load type 'CIG.Global'.
>
> Thanks,
> - Chad
>
> "Steven Cheng[MSFT]" <v-schang@online.microsoft.com> wrote in message
> news:eNjIzaY5DHA.1992@cpmsftngxa07.phx.gbl...[color=green]
> > Hi Chad,
> >
> >
> > Thanks for posting in the community! My name is Steven, and I'll be
> > assisting you on this issue.
> > From your description, you got the following error message in your[/color]
> ASP.NET[color=green]
> > web application:
> > -----------
> > Access to the path[/color][/color]
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary[color=blue][color=green]
> > ASP.NET Files\projects_cig\e4e3b3da\3c20ac69" is denied.
> > -----------
> > And you've tried on both win2k and win2003 server and with the same[/color][/color]
error.[color=blue][color=green]
> > If there is anything I misunderstood, please feel free to let me know.
> >
> > Based on my experience, such security concerned issue may caused by some
> > unexpected errors such as application securty configuration or security
> > issues within the application's code. My suggestion is that we first[/color][/color]
focus[color=blue][color=green]
> > on the application's security configuration or setting and I'd like to
> > confirm some further questions:
> > 1. Since you mentioned the "Access Denied" exception is also followed by
> > another "UnAuthorized" exception, is the UnAuthorized exception like[/color]
> below?[color=green]
> > -----------------------------------------------------------------
> > Exception Details: System.UnauthorizedAccessException: Access to the[/color][/color]
path[color=blue][color=green]
> > "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
> > Files\wetest1\35069e45\3c6cf47" is denied.
> > -----------------------------------------------------------------
> >
> > 2. What's the authenticaion mode you used for the ASP.NET web[/color][/color]
application?[color=blue][color=green]
> > "Windows" or any other? If "Windows", as you said that the application[/color][/color]
is[color=blue][color=green]
> > impersonating via <identity impersonate="true"/> and anonymous allowed[/color][/color]
in[color=blue][color=green]
> > IIS. the identity will be the anonymous user, and you also mentioned[/color][/color]
that[color=blue][color=green]
> > you've manually mapped the anonymous's account to a DOMAIN user. So your
> > application will be run under the certain Domain user account.
> >
> > Also, in your later reply you mentioned that you've tried giving the[/color][/color]
local[color=blue][color=green]
> > user group full access control of the certain folder,(is it the ASP.NET
> > tempory folder?) but with no success. I think you may try giving the
> > certain Domain user account the full access control of the ASP.NET[/color][/color]
tempory[color=blue][color=green]
> > folder such as "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary
> > ASP.NET Files\" and then try running the application again.
> >
> > 3. In addtion to step2, you may also try change the anonymous account to
> > other account(such as machine\ASPNET) and give the full control of[/color][/color]
ASP.NET[color=blue][color=green]
> > tempory folder or even try set the impersionate as false and then run[/color][/color]
the[color=blue][color=green]
> > application to see whether the problem remains
> >
> > Further more, as for the web application's code logic, would you please
> > provide some more detailed info on it such as the "I've got to get this
> > working where my source code is remote" or the "a Virtual Directory
> > pointing to the share where the project is stored"?
> >
> > Please check out the preceding items. If you have any quesitons or have[/color]
> any[color=green]
> > new findings, please feel free to let me know.
> >
> >
> > Regards,
> >
> > Steven Cheng
> > Microsoft Online Support
> >
> > Get Secure!
www.microsoft.com/security
> > (This posting is provided "AS IS", with no warranties, and confers no
> > rights.)
> >[/color]
>
>[/color]