View Complete Post
I spent the better part of today hunting down an elusive error. I was getting a message saying that it couldn't find the Index view for the Home controller, and it gave a list of locations it searched, e.g., ~/Views/Home/Index.aspx. This was really confusing as the file definitely existing and was at ~/Views/Home/Index.aspx, the first place in the list of locations it searched for the view!
What I eventually discovered was that there was a file that did not get published when I used Visual Studio's "Publish" feature (this is on the "Build" menu). That file was Views/Home/Home.master, and (as you can probably guess) is the master file used by Views/Home/Index.aspx.
Once I copied that file into place manually, it started working. But I am left wondering--why??? Why does this file not get published? It's a part of my project, I can see it in the solution explorer, and it's obviously a critical file that's necessary for the MVC app to run. It has the same permissions as every other file in my project. So why wouldn't it get copied? And how can I fix it so it does get copied?
Thanks for any suggestions on this!
I am a beginner in c#.I heard that writing program with three tier architecture are easy and maintainable.
I just wanted to know with a small example on how to write three tier architecture programs.
Hi i want to develop an application in asp.net using 3 tier architecture .
i know that there are three layers
I am confused between Data Access Layer and Business Logic Layer.
In data access layer we develop the property classes and main class function which returns datasets, datatables and data reader to Presentation layer.
what is the use of Business Logic Layer ? what actually we do in Business logic Layer ?? we can pass data directly from data access layer to presentation layer ?? can anyone give any small example to understand ??
Microsoft has recently launched the . NET Architecture Center, a site devoted to business, software, and infrastructure architects who want to understand the Microsoft approach to enterprise software.
MSDN Magazine November 2002
We are using a third party wsp in our solution which directly adds the web parts into the web application store rather than the web part gallery(References to them are present
in IIS site's wpcatalog directory). We want to remove these web part files so that the users will not be able to add these web parts to pages directly. Or any other modification so that users will not be able to add these directly. Is there a way we can
do this programmatically?
I have a Word document that is located at non-Sharepoint location XYZ. This word document has multiple hyperlinks contained within the body of the document. When I try and load this document to a document library it first changes the XYZ location of
the original document to the location where Sharepoint resides. THEN, it modifies ALL of the hyperlinks to a subset of the Sharepoint location. I am at my wits end as to how to stop this from happening.
Original File location Z:\Power\Procedures\somedocument.doc
After upload http:\\ap15\power\procedures\somedocument.doc
The ORIGINAL document is basically a Table of Contents that is several pages long and has several hundred links pointing to different file locations embedded within the body.
I am totally baffled as to how to stop this from happening. At some point all of the documents will get moved to the Sharepoint server, but in the interim I just want to link to the old document, in the old location, with the original links such that everyone
isn't going crazy that our procedures are missing in action. HELP.
I have to open a batch file automatically in sql. So i have used the below command.
EXECUTE master.dbo.xp_cmdshell 'D:\Databases\batch\123.bat'
Its worked for few times. After that its not working.
One time i have stopped before the process is complete.May be this is the issue.
Now its returns null value.
Can anyone help me how can i open the file in sql.
Thanks & Regards,
Hi could any one help me,how to implement web services in a 3 tier architecture and also give a brief idea about how to implement coding as soon as possible.
I have no idea about 3-Tier Architecture? so please tell me. What is the use of 3-Tier Architecture?