Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

TestPage.html.js constantly access denied RSS

26 replies

Last post Jan 15, 2008 10:19 AM by Sopheap Ly

(1)
  • mg@code5.dk

    mg@code5.dk

    Member

    2 Points

    1 Post

    Re: TestPage.html.js constantly access denied

    May 11, 2007 11:30 AM | LINK

    StephenLahti

    Guys thanks For ALL your help with the AVG issue I do have pro found the Settings for file EXT

     

    THAT WORKED

    Stephen

    Where did you find these settings in AVG?

     

    Morten

  • Chris5287

    Chris5287

    Member

    2 Points

    2 Posts

    Re: TestPage.html.js constantly access denied

    Jun 09, 2007 08:19 PM | LINK

    I had the same problem, if you dont want to unistall or shutdown AVG, even with the free version, you can stop the "Access Denied" problems by going into your Control Center on AVG, click on the properties of the Resident Sheild and in the Properties tab, deselect "Turn on AVG Residential Shield protection". If you want to stop AVG moaning at you for doing this, click on the General Tab and select "Ignore faulty condition of the component". Then click ok. Then when you've finished developing for the day, just knock resident shield and your good to go again.
     

  • AsinuS

    AsinuS

    Member

    2 Points

    1 Post

    Re: TestPage.html.js constantly access denied

    Jun 29, 2007 11:49 AM | LINK

     I had to turn off the residential shield before it worked. thx for the tip Chris5287

  • Tkadosh

    Tkadosh

    Member

    2 Points

    1 Post

    Re: TestPage.html.js constantly access denied

    Jul 16, 2007 12:39 AM | LINK

    I had to unstall the AVG ... [:S] 

  • theman17

    theman17

    Member

    2 Points

    1 Post

    Re: TestPage.html.js constantly access denied

    Jul 18, 2007 03:40 PM | LINK

      I'm not sure if I'm missing something here or not but I also have AVG and I initially tried everything stated above (besides uninstalling AVG) but during the process I noticed that I do not even have a SilverLightProject.zip folder in the C:\Program Files\Microsoft Visual Studio\9.0\Common7\IDE\ProjectTemplatesCache\Silverlight\1033\ folder.  Even after a repair and re-install the folder just does not exist there.

      This error seems to be a fairly common occurrence so has anyone found a conclusive reason for why this happens and how it can be corrected?  Thanks in advance for any help on this:)

  • Snowbleach

    Snowbleach

    Member

    8 Points

    4 Posts

    Re: TestPage.html.js constantly access denied

    Jul 30, 2007 12:39 PM | LINK

    This does not work when you try to create a new project. You can rename the files and modify the .html file, but that won't change the settings in the template projectfile. I tried tweaking the SilverlightProject.csproj, but I am unable to rename the TestPage.html.js to TestPage.js (I tried changing the filename, but it's greyed out in the Properties window). Then I tried removing the TestPage.html.js and adding the TestPage.js manually (Add Existing Item to Project), sadly the project fails to build. I've ran out of options, since A) I don't want to remove AVG or change the settings and B) I prefer to always see file extenstions so hiding file extensions for wellknown types is not an option either for me.

     So, until someone comes up with another solution, I can't play with Silverlight yet. Any ideas?

  • adefwebserver

    adefwebserver

    Participant

    1183 Points

    238 Posts

    Re: TestPage.html.js constantly access denied

    Jul 30, 2007 01:12 PM | LINK

    bnkdev

    So I try to create a new SilverLight project on Orcas and I constantly get an Access Denied error on the following file:

    C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplatesCache\Silverlight\1033\SilverLightProject.zip\TestPage.html.js

    If you have AVG like me then you only excluded AVG scanning from certain directories, When you create an ORCAS project they put the files in new directories, you have to go into AVG and exclude those paths too.

  • Snowbleach

    Snowbleach

    Member

    8 Points

    4 Posts

    Re: TestPage.html.js constantly access denied

    Aug 04, 2007 12:18 AM | LINK

    Bump. Has any come up with an alternative to the above methods?

  • Psychlist1972

    Psychlist1972

    Contributor

    6802 Points

    1079 Posts

    Microsoft

    Moderator

    Re: TestPage.html.js constantly access denied

    Aug 04, 2007 09:52 PM | LINK

    Yes. I just posted (based on your question) an updated version of the template.

    I did this quick and dirty, so I didn't create a new template; I just overwrote the old one. I also fixed several issues with it related to the 1.1 Alpha Refresh.

    You can get the install instructions and download it from here.

    Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
    10rem.net - Pete Brown's site and blog | twitter: @pete_brown
    I work for the Developer Guidance group in Microsoft. Opinions are my own.
  • Snowbleach

    Snowbleach

    Member

    8 Points

    4 Posts

    Re: TestPage.html.js constantly access denied

    Aug 08, 2007 12:32 AM | LINK

     

    Psychlist1972

    Yes. I just posted (based on your question) an updated version of the template.

    I did this quick and dirty, so I didn't create a new template; I just overwrote the old one. I also fixed several issues with it related to the 1.1 Alpha Refresh.

    You can get the install instructions and download it from here.

     Thanks a lot! You lifesaver you :)