|
hi
in a webapplication to redirect a page to another page i am using the following code
Response.Redirect(dl.url + "LoginPage1.aspx", True)
where dl.url is my wesite url
it worked fine for few months back
but now it showing a error
i found that it is response.statuscode=200
now what is this Response.Statuscode=200 error
how can i solve this
earlier it worked fine ,i didnt touch the code in this page and it is also giving the error like this
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
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: BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.masterpage_master'.
Source Error:
Line 1: <%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: C:\Inetpub\vhosts\shieldpro.in\httpdocs\MasterPage.master Line: 1
please help me
|
|
|
|
|
Inherits ="MasterPage" should point to your class in codefile.
Say
<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="myMasterPage"%>
should point to
Public Class myMasterPage<br />
Inherits MasterPage
|
|
|
|
|
hi abhishek
i too got the same problem and struggling hard to solve it
as u said i checked with my webapplication
i changed like this
in code file
//MasterPage.master.vb
Partial Class MasterPage
Inherits System.Web.UI.MasterPage
End Class
in MasterPage source file
<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %>
both are same now but y it is showing the same error
|
|
|
|
|
Hello,
Can one tell me what is the best available Product Catalog Solution (Commercial Only).
Solution must be must be customizable
Must be able to store or pull images, pdf and possible videos from a database or within the CMS.
Needs to be able to integrate with our current CMS http://www.sitefinity.com
Must Be on .Net Platform (Only Microsoft compatible solutions)
Must be able to support multiple attributes three level deep.
Must be able to support Complex Hierarchy greater than two levels.
Must be able to tie into SQL server, Oracle (Complete Microsoft compatibility)
Product Solution must have a search feature or module
Must be able to batch upload products for quick product updates
Must be able to attach product specs, documents and images to Product details.
Possible solution to link the product catalog with the shopping cart.
Any urgent response will be appreciate able.
Thanks.
|
|
|
|
|
I think this is not the right place to ask... Its ASP.NET forum.
|
|
|
|
|
Im trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1).
Heres what i have done:
-Placed the complied ASP.net application and its files to D:\mypage\
-Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727)
-Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected.
Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page".
Im out of ideas. When I did the same on my local host everything worked fine.
Thax in advance
|
|
|
|
|
Check if the virtual directory itself points to correct directory. Sometimes we often point to directory just parent to it and find such problems.
|
|
|
|
|
i hv given right directory path.
n problem is still unresolve
|
|
|
|
|
I think you must specify correct default Startup page from IIS console. As Directory browsing is turned off, it throws you this error.
Also check
http://client IP/mypage/yourpage.aspx
is working or not.
|
|
|
|
|
i have specify the startup page at iis console.and one more thing when i restart my server web application run till 20 to 30 min.then again give massege on web browser that "You are not authorized to view this page".
|
|
|
|
|
I think the problem is with your application. It must have doing something wrong... (might be eating up all the application pool memory)... thus throwing this nasty error message.
Create a new pool for this application.. or trace your application to see if this error is because of memory related issue or not.
|
|
|
|
|
pool???
i didn't get pool means.
and i have made other virtual directory for web application its also run till 20 to 30 min after restarting server.
and web application is running smoothly on local server
|
|
|
|
|
Application Pool is a feature in IIS which separates one Application memory with another.
Each pool actually creates a separate worker process with its own memory so that each session assigned, server side processing is done in that pool for the web directory.
If you create a new application pool, it means you are not sharing the memory with the existing default application pool, therefore probability of getting outofmemory will be lesser.
You can read this to have more depth on Application Pool :
How Application Pool Works[^]
|
|
|
|
|
perhaps application pool is supported on iis 6.0 while i am using iis 5.1.
i have done one more thing
start -> programs -> visual studion 2005 -> visual studion tools
than type the command
aspnet_regiis -i
for reparing iis
|
|
|
|
|
hello everyone............i m creating Bar char using Drawing class............its correctly wrking on
Internet exploer and whnvr i tries to run it on Opera/Mozilla........it gives incorrect output(something
like encryption form)...............i think its becoz of browser..........then whts solution of this...............do i need to use other external tools of asp.net..............if yes then which one??
|
|
|
|
|
Perhaps if you posted some code....
If you write code to serve an image correctly, it will work in Mozilla.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Well, if you are creating an image, you need to save it to a location which is accessible to the client, and load the image using img tag. Every browser can show images, so your duty is to clear your code to create an image and save it to the server local virtual directory.
|
|
|
|
|
You don't need to save the image at all. A HTTP Handler could be used to generate the image.
only two letters away from being an asset
|
|
|
|
|
I know budd. This is really a better option to write img response directly.
|
|
|
|
|
Hi there,
Sir,
I want a code on selected index change event in javascript that will populate another ddl depending on selected value, hence to avoid server trip.
Thanx..
|
|
|
|
|
Well, you'd need to either use AJAX, or send every possible list of data for the second drop down list down to the client every time.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Use
OnChange="javascript:populateDdl();"
On populateDdl you can call server using AJAX, and parse the response and load it to the dropdown or anything on your logic.
|
|
|
|
|
|
Hi ,
Could you please let me know how to check whether JRE is installed on client machines and if not how to give a url to install it programically.I have a JAVA Dicom viewer , it need JRE in client machines.
With Warm Regards
|
|
|
|
|
It's a Java applet, or a stand alone app ? There's no way that ASP.NET can detect if Java is installed.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|