konczuras 0 Junior Poster in Training

Hello, I'm using the following:

Windows XP SP3
dotNet FX 3.5 SP1
IIS 5.1
SQL Server 2008

My application runs from a virtual directory, and it has a .mdf and an .ldf file, which are being attached to my database.
Whenever I tamper the database files (attach to ssms, grant rights, etc.), my application's menu breaks. It has some child elements, which won't show up in this case, and I get the javascript error: Object expected, and something about Scriptresource.axd.
But when I try to use it from a remote machine on LAN, it works perfectly. Only the server machine can't render the menu well.

I've tried a lot of things from the same thread in asp.net forum, but nothing happened, the problem persist. Any clues about what can cause this, and how can I overcome it?

PS: Once, I managed to restore it, by creating another virtual directory in IIS, and then it worked for a while.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.