i am working on a web site. it has a master page in which i would like to display some images(like some advertising images) which are in Images folder in my project. the code i have written is
1. I clicked Build > Published website 2. It created all the files in a seperate folder. 3. I went to IIS > Web sites > Default Web Sites > right clicked > New > Virtual Directory and point it to the published directory. 4. But my site does not come up locally. http://localhost/TT2/Login.aspx and I get following Error.
Server Error in '/TT2' 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_tazji97g'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ master language="C#" inherits="MasterPage_master, App_Web_tazji97g" %>
Line 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Line 3: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
Source File: /TT2/MasterPage.master Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I just downloaded personal website starter but when i try to run i get error-
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Can anyone help why i am getting this error!!
I checked the sql server configuration..it is allowing both remote and local connections.
Since i am new to this fascinating and adventrous world of .net.So Help needed!