Click here to Skip to main content
15,902,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All

I am creating a Windows application in asp.net.
I am using Microsoft reporting reports in it
to bind reports to report viewer. This is my code

LocalReport lr = reportViewer1.LocalReport;
lr.ReportPath = AppDomain.CurrentDomain.BaseDirectory +"..\\..\\"+ _path;


It is working fine but when I create setup of my application then it is showing this message:

An error occured during local report processing.
The report definition for report 'C:\uusers\kirti\Desktop\..\..\Reports\rptHotelSale.rdlc' has not been specified
Could not find the part of the path  'C:\Users\Reports\rptHotelSale.rdlc' 


Thanks
Posted
Updated 21-Feb-11 23:59pm
v3

1 solution

OP: i am creating a window application in asp.net

You can't.

Frankly speaking, I did not read the rest of the question after this line. You should seriously consider going through the basics before putting yourself for developing an applications.
Do you really know that there is a whole difference [^]between windows and ASP.Net applications?
 
Share this answer
 
Comments
Manas Bhardwaj 22-Feb-11 5:46am    
You just answered yourself. It is a Windows Application written in C#. What does it has to do with ASP.Net? Nothing...
Aman4.net 22-Feb-11 5:49am    
Dear Manas, You are really funny guy. As You may know that asp.net is platform which supports 44 languages (So Window application in C# is developed at asp.net platform).
Manas Bhardwaj 22-Feb-11 5:51am    
why did you say so?
Ankur\m/ 22-Feb-11 5:56am    
There is nothing funny about it. I don't understand why people cannot take out some time learning the basics. We need to understand that if we are good with the fundamentals we can program better and efficient saving us and others a lot of time.
Manas Bhardwaj 22-Feb-11 6:07am    
Get your facts right buddy, I am again saying ASP.Net has nothing to do with Windows Applications.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900