473,609 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unknown error when web site is published

This is a really weird one and very odd.

I have written a web site using VS2005 and .Net 2.0, all works very well
when running it locally. However when I publish it to my web server (hosted
by HELM), I get unknown errors when I connect to some of the aspx pages,
however if I keep surfing around my web site the pages suddenly start
working for no apparent reason. Once each page has been displayed at least
once that particular page won't thow an error again, however on another
machine I can have the same problem (although it appears not to be quite so
bad).

Anyone have any ideas what might be causing this behaviour. Web server not
loading the pages properly until their cached properly? Is there any code I
can use to slow down the loading of the pages - I'm grabbing at straws
here!!

I have put an friendly error page so at least the user doesn't see the ugly
..NET error
Any help / pointers will be greatly appreciated.

TIA

Tim
Feb 3 '07 #1
3 1367
Are you using the web site project that comes with the pre-SP1 version fo VS
2005? I'm asking because you mention jumping around seems to work after a
page is called once. In the web site project, pages are compiled more on the
fly than in VS 2003 web projects. That means they don't get pre-compiled.
One of the biggest issues that comes about is when you're sharing classes
from other directories. Those files don't usually get compiled in the order
we would expect. A new project was introduced soon after the launch of VS
2005 called the Web Application Project. This mimics the web project from
previous versions of VS and enables you to pre-compile the entire site. I
don't know which project type you're using, but it seems to fit this
scenario.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Timbo" <me@home.comwro te in message
news:OH******** *****@TK2MSFTNG P04.phx.gbl...
This is a really weird one and very odd.

I have written a web site using VS2005 and .Net 2.0, all works very well
when running it locally. However when I publish it to my web server
(hosted by HELM), I get unknown errors when I connect to some of the aspx
pages, however if I keep surfing around my web site the pages suddenly
start working for no apparent reason. Once each page has been displayed
at least once that particular page won't thow an error again, however on
another machine I can have the same problem (although it appears not to be
quite so bad).

Anyone have any ideas what might be causing this behaviour. Web server
not loading the pages properly until their cached properly? Is there any
code I can use to slow down the loading of the pages - I'm grabbing at
straws here!!

I have put an friendly error page so at least the user doesn't see the
ugly .NET error
Any help / pointers will be greatly appreciated.

TIA

Tim


Feb 3 '07 #2
Hi Mark,

Thank you for your reply, When looking as the version of VS2005 is says
8.0.50727.762 (SP.050727-7600).

I took a look on the Microsoft download site and VS2005 SP1 also says
version 50727.762 so I guess I already have it.

Am I correct? If so any other ideas?

Kind Regards

Tim

"Mark Fitzpatrick" <ma******@fitzm e.comwrote in message
news:uh******** ******@TK2MSFTN GP04.phx.gbl...
Are you using the web site project that comes with the pre-SP1 version fo
VS 2005? I'm asking because you mention jumping around seems to work after
a page is called once. In the web site project, pages are compiled more on
the fly than in VS 2003 web projects. That means they don't get
pre-compiled. One of the biggest issues that comes about is when you're
sharing classes from other directories. Those files don't usually get
compiled in the order we would expect. A new project was introduced soon
after the launch of VS 2005 called the Web Application Project. This
mimics the web project from previous versions of VS and enables you to
pre-compile the entire site. I don't know which project type you're using,
but it seems to fit this scenario.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Timbo" <me@home.comwro te in message
news:OH******** *****@TK2MSFTNG P04.phx.gbl...
>This is a really weird one and very odd.

I have written a web site using VS2005 and .Net 2.0, all works very well
when running it locally. However when I publish it to my web server
(hosted by HELM), I get unknown errors when I connect to some of the aspx
pages, however if I keep surfing around my web site the pages suddenly
start working for no apparent reason. Once each page has been displayed
at least once that particular page won't thow an error again, however on
another machine I can have the same problem (although it appears not to
be quite so bad).

Anyone have any ideas what might be causing this behaviour. Web server
not loading the pages properly until their cached properly? Is there any
code I can use to slow down the loading of the pages - I'm grabbing at
straws here!!

I have put an friendly error page so at least the user doesn't see the
ugly .NET error
Any help / pointers will be greatly appreciated.

TIA

Tim



Feb 3 '07 #3
Tim,
The next thing to check is the project type. Usually if you
right-click the project and choose properties, you'll receive a dialog on
the screen with a good number of vertically laid out tabs (mine has 9,
beginning with Application and ending with Code analysis). The Web Site
project is usually a shorter list and not setup as tabs if I remember
correcltly. The big difference is the creation process. Even with SP1 you
can still create the old web site project. To create the Web Site project
you would use File | New | Web Site. If you used this method to create the
project then that would mean it's this problematic web site project template
that shipped with the initial launch of VS 2005. If you used the File | New
| Project, and selected the ASP.Net Web Application project type then you're
using the new version that compiles into one dll. One way to check is to see
if you have a ton of strangely named dll files, usually made up of the page
name plus a bunch of numeric text. If so then you're using the web site
project and not the asp.net web application. I believe there is a conversion
process to make it easier, but I don't remember since as soon as the add-on
was available pre-sp1 I started from scratch with the new application
project type.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Timbo" <me@home.comwro te in message
news:eM******** ******@TK2MSFTN GP02.phx.gbl...
Hi Mark,

Thank you for your reply, When looking as the version of VS2005 is says
8.0.50727.762 (SP.050727-7600).

I took a look on the Microsoft download site and VS2005 SP1 also says
version 50727.762 so I guess I already have it.

Am I correct? If so any other ideas?

Kind Regards

Tim

"Mark Fitzpatrick" <ma******@fitzm e.comwrote in message
news:uh******** ******@TK2MSFTN GP04.phx.gbl...
>Are you using the web site project that comes with the pre-SP1 version fo
VS 2005? I'm asking because you mention jumping around seems to work
after a page is called once. In the web site project, pages are compiled
more on the fly than in VS 2003 web projects. That means they don't get
pre-compiled. One of the biggest issues that comes about is when you're
sharing classes from other directories. Those files don't usually get
compiled in the order we would expect. A new project was introduced soon
after the launch of VS 2005 called the Web Application Project. This
mimics the web project from previous versions of VS and enables you to
pre-compile the entire site. I don't know which project type you're
using, but it seems to fit this scenario.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Timbo" <me@home.comwro te in message
news:OH******* ******@TK2MSFTN GP04.phx.gbl...
>>This is a really weird one and very odd.

I have written a web site using VS2005 and .Net 2.0, all works very well
when running it locally. However when I publish it to my web server
(hosted by HELM), I get unknown errors when I connect to some of the
aspx pages, however if I keep surfing around my web site the pages
suddenly start working for no apparent reason. Once each page has been
displayed at least once that particular page won't thow an error again,
however on another machine I can have the same problem (although it
appears not to be quite so bad).

Anyone have any ideas what might be causing this behaviour. Web server
not loading the pages properly until their cached properly? Is there
any code I can use to slow down the loading of the pages - I'm
grabbing at straws here!!

I have put an friendly error page so at least the user doesn't see the
ugly .NET error
Any help / pointers will be greatly appreciated.

TIA

Tim




Feb 4 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
20428
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied to the test server it won't work at all. Looks like aspnet_wp is trying to compile it for five seconds, then it stops working what so ever. The system event log gets the following entry: Application popup: aspnet_wp.exe - Application Error : The...
2
1692
by: rsphere | last post by:
my app is running just fine on my home dev box. no compilation errors at all. when i move the whole file structure to my hosted site i get the following error when opening the main page: ---------- Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0433: The type...
0
1269
by: schoenfeld1 | last post by:
I've published shareware and have distributed the installation package as an MSI. I noticed once an "Unknown Publisher" error when I downloaded and installed my software on some machine, but I cannot reproduce this anymore. Exactly what windows security configuration is necessary for the user to be prompted "Unknown Publisher" when installing unsigned installation packages? And more importantly, is this configuration
0
1113
by: clickon | last post by:
I am working on a portal web application that is largely modular. I have been working on it on a "development" website. Some sections have been tested and are complete. I decided to set up a Live website on the same server so i could work on the development web site without affecting people using the completed sections. I set up the website and then used VS 2005 to "publish" the site. This seemed to work OK, it precompiled the whole...
14
2044
by: brett | last post by:
I have an ASP.NET 2.0 web application that runs fine on my local machine. However, once I upload it, I get this error: Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: The file '/index.ascx.cs' does not exist.
5
1750
by: John | last post by:
Hi When I try to install a published app using a url like http://www.mydomain.com/publish.htm, it starts the download but then comes up with the eror given at the end below. I am installing the app on an sbs 2003 (windows 2003 + ISA 2000) server. I suspect ISA 2000 is the problem but don't know where and how to give proxy credentials in the whole publishing and installing process. Any help to fix this will be appreciated. Thanks
3
1427
by: Brent White | last post by:
I am trying to publish a web service project that works on my local machine just fine. I can access it by going to: http://localhost/service1.asmx and get the properties page. I then published the service to a new virtual directory on the IIS server, which already has a working Virtual Directory, in the following folder:
0
1212
by: Gtu108 | last post by:
Hi, I am getting an error while uploading a published version of site. The error is like : Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load the assembly 'App_Web_oon-2ckc'. Make sure that it is compiled before accessing the page. Source Error:
0
321
by: Jonathan Crawford | last post by:
Hi I have had theis error four a week now. I am completely questioning my future as a ms programmer. As far as i am aware I have done nothing wrong. The site worked for 4 years in .Net 1 and iI never has a trouble loading it. I converted to .Net 2 two months ago and also had no trouble loading it. Now when I change the site I publish it and get this error (see below) The bin directory is fine, the site works on my local machine fine...
0
8076
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8573
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8541
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8222
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8406
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7002
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2531
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.