rdlc report is not working on server - asp.net

The RDCL report created via Visual Studio 2008 is working fine on the local server. But when the same application is hosted on the IIS, HTTP 404-File Not Found error is displayed.
Does anybody have an idea about this? Please help me.

404 is definitely NOT a permission issue. The virtual / relative / absolute path NEEDS to be verified, looked at and changed.
Try Fiddler or an HTTP Analyzer to see what the exact URL is and be sure it matches up.

Please make sure that the RDCL report file exists on the published directory and/or IIS.

Related

IIS not showing anything when I browse to "localhost"

I've been trying to use my computer as a web server so that I can host a website on it. I've got IIS installed and configured. I must have done something that I shouldn't have done, because whenever I try to hit my local host with just a simple webpage I get a 404 error back. I think I don't have everything in IIS configured right. Little help?
If you are able to get a 404 back, IIS must be running fine. Try to make sure your site is pointing at a folder where the file you are looking for is. i.e. If you are trying to go to http://localhost/test.html then make sure the site is configured to use the folder where test.html is. Or if you haven't made any changes to IIS site, put your file (eg: test.html) in C:\inetpub\wwwroot, and try again.

The parameter 'exePath' is invalid

I am trying to setup a website on IIS. It is basically a copy of an existing website (working) that we have that is hosted on another server. The two server's OS is running the same OS Windows Server 2003 and both site is running on IIS 6. The source code is the same since it was just copied from Site A. Only difference is that the database is now connected to a new database.
When I open a page on the site, it throws me this error.
The parameter 'exePath' is invalid
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\fias\576e43ba\53e00dbc\App_Web_bndnkzt8.0.cs Line: 0
I am not sure what is causing this. But I am sure that it is not on the code since it's just copied from the other working site.
I am looking into permissions on directory. I already changed permissions to say FULL Control but that doesn't seem to fix it.
Anyone has any idea on how to solve this?
Thanks in advance!!!

Showing Pdf From Different Server

I have got 2 Server 1. IIS Server (Internet Access), 2. File Server (No Internet Access) but both the server on the same network. I want to display the pdf from my File server but when i run the website using asp.net its works.. But When i host the website its doesn't show the pdf. The Page comes Blanks.. My Friend Told me that you need to use impersonation but after that also it dosen't work.. Any Help will be really appreciated on this.
(Asp.Net Development Server) :- Worked
After hosting the website in IIS When i view the website using my Internal IP Address It is not showing the Pdf Below is the screenshot
It sounds as if you will have to use UNC to get your file.
It would be best if you could tell us what error are you getting on the hosted env.
I would also check : Determining if file exists using c# and resolving UNC path

server.mappath not working in asp.net after publish

I have used server.mappath() in my application.It is working fine in debug mode,but after publishing into IIS it is not working.
string filePath=Path.Combine(HttpContext.Server.MapPath("/calendar"),
"MonthCalendarTest.exe");
Process.Start(filePath, Convert.ToString(LoggedInUserKey));
Tried with absolute path,
"../../calendar/MonthCalendarTest.exe"
"~/calendar/MonthCalendarTest.exe".
Please let me know where i am going wrong.
I guess this could be wild card issue, because after publishing website to IIS, it allow only those extensions to run which are mapped in the IIS. Please check the same.

IIS - "The system cannot find the file specified."

I am building an asp.net web application which has been working on local and staging. however, when i deployed to live, there is a little weird issue occurred. below is the live environment details.
live environment:
Server 2003
IIS 6
when the request url is below, if page not found, it will redirect to page 404 configured in the IIS.
"http://www.xxxx.com/folder1/default.aspx"
however, when the request url is below (with a dot in the folder), it will show a IIS default 404 message which is "The system cannot find the file specified." which isn't what i configured in the IIS and it seems like it skips all the http handlers and modules. Therefore, my custom http handler stop working with this kind of url.
"http://www.xxxx.com/folder.1/default.aspx"
My guess it something to do with the IIS setting. i have have several research, there is no other issue like me.
appreciated if anyone can help. Thanks a lot.
Dion
One of the possible reason could be tool such as UrlScan - you need to explicitly configured it to allow dot(.)s in the url - this can be done by editing <Windows Folder>\system32\inetsrv\urlscan.ini and setting AllowDotInPath=1

Resources