Click here to Skip to main content
15,898,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m getting an error while building project



Hello to every one
i m getting an error in silverlight 3 application

Error 1 Could not find file 'C:\Users\Iram\Documents\Visual Studio 2008\Projects\VotingPanel\VotingPanel\Bin\Debug\AppManifest.xaml'. C:\Users\Iram\Documents\Visual Studio 2008\Projects\VotingPanel\VotingPanel\Bin\Debug\AppManifest.xaml 1 1 VotingPanel
can any one tell me how to add it again
Thanx
Posted
Comments
erummirza 27-Aug-10 9:43am    
i m getting an error while adding service reference ,as i created new project as u suggested

There was an error downloading 'http://localhost:2021/Service1.svc'.
The request failed with the error message:
--


<title>Parser Error

body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }





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: The ServiceHost directive must specify either the 'Factory' or the 'Service' attribute.



Source Error:




<pre>

<font color=red>Line 1: <%@ ServiceHost Language="C#" Debug="true" CodeBehind="Service1.svc.cs" %>
</font></pre>







Source File: /Service1.svc    Line: 1







Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927






--.
Metadata contains a reference that cannot be resolved: 'http://localhost:2021/Service1.svc'.
The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
If the service is defined in the current solution, try building the solution and adding the service reference again.

1 solution

Create a new project, and copy the file over.
 
Share this answer
 

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