Solved

Website will not start - UNC share problem

Posted on 2009-05-13
14
386 Views
Last Modified: 2013-11-26
I am trying to convert a website to ASP.Net.  I was using it in Dreamweaver but I want to be able to use the code behind ASP and so I have brought the project into Visual Studio so that I can do this but I cannot get the website to run.  It gives me the following error:

'An error occurred loading a configuration file: Failed to start monitoring changes to '(long file path here to a folder were some PDFs are stored for website links)' because the network BIOS command limit has been reached.  For more information, please refer to Microsoft Knowledge base article 810886.  Hosting on a UNC share is not supported for the Windows XP Platform.

I checked out the article which tells you to check some registry setting.  I have the right folders to the registry but the ones they want changed do not exist on my computer.  Should I add them or what should I do to fix this problem so my website will run.  Help!
0
Comment
Question by:vb9666
  • 10
  • 4
14 Comments
 
LVL 23

Expert Comment

by:Admin3k
ID: 24379259
I would say add the registry keys if they do not exist first & let us see if the problem persists.
0
 

Author Comment

by:vb9666
ID: 24384127
I added the registry settings and it still gives me the same error.
0
 

Author Comment

by:vb9666
ID: 24388485
This has something to do with my website being saved on a network drive.  I copied everything to my computers hard drive and now it runs fine without an error.  Any suggestions on how to get this to work on the network path?
0
 
LVL 23

Expert Comment

by:Admin3k
ID: 24388984
you will need to let .NET trust the assemblies of this web application or the UNC path
HOW TO: Change the Trust Level for a .NET Framework Assembly
http://www.velocityreviews.com/forums/t81845-help-could-not-load-type-error.html
can be done from command line as below
http://msdn.microsoft.com/en-us/library/cb6t8dtz.aspx
0
 

Author Comment

by:vb9666
ID: 24421747
I can't get this trust assembly set up because I do not have a DLL file because I have not been able to build the project due to the error i keep getting.  Any more suggestions?
0
 
LVL 23

Expert Comment

by:Admin3k
ID: 24425714
>>I copied everything to my computers hard drive and now it runs fine without an error
I thought it is building now without issues ?
also please confirm that the registry settings in the above KB article were applied on the Server where the UNC path is located , not on the client machine.
0
 

Author Comment

by:vb9666
ID: 24482829
The registry settings were applied on the Server but I'm still getting the error about the UNC path.  I can build my project saved on my computer but I do not get DLL file??  I have tried Publish web site as well but nothing produces a dll.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:vb9666
ID: 24484205
I just located the DLL under C:\Documents and Settings\myLogin\My Documents\Visual Studio
2005\Projects\MyProj.com\PrecompiledWeb\Bin but I can even get that dll to be trusted assembly.  I get an error message with every DLL I try...

Trust an Assembly
Application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework Configuration tool.
0
 

Author Comment

by:vb9666
ID: 24484833
A network computer and another personal PC will Trust this assembly but mine produces the message I posted above.  Any suggestions on why it won't work on my pc?
0
 

Author Comment

by:vb9666
ID: 24485915
I was finally able to get it to add the trusted assembly but because I had to borrow the DLL from another compiled project and renamed it still doesn't work.  How do I get it to compile?  And how come the bin folder is not on the network drive instead of my local computer?  Am I supposed to trust to the path on my local computer or create a bin folder on the network drive and copy the dll there??
0
 
LVL 23

Expert Comment

by:Admin3k
ID: 24490051
if this is Visual studio 2008, I think you may have hit a bug , that has a workaround, make sure Service pack1 for VS2008 is installed
http://blogs.conchango.com/jamesdawson/archive/2008/06/03/using-linked-files-with-web-application-projects.aspx
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=348886
0
 

Author Comment

by:vb9666
ID: 24492174
I'm using VS 2005.
0
 

Author Comment

by:vb9666
ID: 24905325
This has something to do with the file size of my project.  If I delete the folder that contains all the PDF documents that are linked on my website (137 MB) then my website will run.  Does anyone have any other suggestions on how to fix this.  I really need to keep this project on a network drive and I need the folder that contains all my documents!
0
 

Accepted Solution

by:
vb9666 earned 0 total points
ID: 25032355
Can someone close this question?  I have resolved this issue.  I found a post online that had me change a registry setting FCNMode under ASP.NET.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now