Couple of suggestions you have probably already checked:
There is an attribute of the Page directive, I think its called aspcompat, that needs setting to True to allow you to use VB6 dlls from the aspx page. (if it works on another machine then it wont be this)
Another thing to check could be that the relevant folders have execute permissions (not just for scripts but for dlls as well).
Quote:
quote:Originally posted by francis
I am getting a Problem with the Access of my Exisiting DLL like
Exception Details: System.UnauthorizedAccessException: Access is denied.The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename} \ASPNET', which has limited privileges. Consider granting access rights to the resource to the ASP.NET process identity.
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 "{machinename}\ASPNET" user. Highlight the ASP.NET account, and check the Write box in the Allow column.
I tried all the Possible things Like Giving Access to the ASPNET user and Placing it in the other folder and Giving Access but nothing is working out can you please tell me what going Wrong.But then I copied the project along with the DLL to my Colegues m/c and it works fine I compared the Config files and it all the same.I dont know what Wrong I am going crazy please help me !!!
Rgds
Francis Vaz
|