I'm unable to see it in the dashboard even though I have .cshtml files in the root. Anyone knows what the problem could be and how to fix it?
The Administration feature/Package Manager was removed from version 2.0 of WebMatrix/Web Pages onwards. It was replaced by the Nuget extension within WebMatrix.
Related
so I made a website in Visual Studio 2015 community, but when I upload it to my website it only shows the source (www.fluffykillers.com) what should i do?
I have my .htacces file to point to Default.aspx
As I guessed in my comment, the hoster that you are using (freewha.com) is not supporting ASP.NET sites, it only supports PHP as it seems.
So you will have to find another hoster that supports ASP.NET sites.
I am currently new to ASP.NET C# programming and have created a ASP.net Web application project in visual studio 2010, .NET 4.0. I have researched thoroughly to find a solution to my problem the last couple days but had no luck.
My issue is, debugging my project has no issues running on my local machine. I have a Site.Master page that is reference with a site.css. All my .ASPX pages run through the master site. However when i publish my website using File System
and setting my target location to my desktop, any call on a < href> tag to my default.aspx cannot load the site.master page. the error is as follows:
"The Master Page file 'Site.Master' cannot be loaded.
Correct the problem in Code View".
now i do have IIS 7.5 installed, and i have tried to create a website through the inetmgr by following various steps through google searches and videos and still have no luck. is there something specific i am missing? everything is named the same in reference to stylesheet.
In addition to WraithNath's comment, might want to ensure IIS is configured to allow ASP.NET
I'm busy making a CMS using MVC3. I want to test the current build on the live server. Now, with a normal html website, you'd have a index.html or index.php and i think asp gives a default.aspx. But I don't have anything like that in my project. Can anyone tell me where to get a default page, or how to make one, I have no idea what the format/syntax would be...
This link might help:
http://msdn.microsoft.com/en-us/library/dd410407(v=vs.90).aspx
And a possible duplicate of this one:
Publish ASP.NET MVC Application : read configuration file permissions
and this
How to publish aspnet.mvc site?
The default page is defined by your routes and your views.
Look for something like /Home/Index.aspx which is what will be served up when going to www.domain.com
To do a simple publish use the Publish workflow by right-clicking your ASP.NET MVC project in Visual Studio and select Publish
For some reason, the Xap file of my Silverlight project, isn't loaded in the Asp.Net MVC website.
Checked the page -> --> is ok.
Checked build -> is ok
Checked Xap file -> is there
It could be the Xap is not adjusted after modifying the Silverlight application, but i thought it was autogenerated.
Can anyone help me to fix this problem?
Edit: followup:
The Xap is in the ClientBin and referenced in the Silverlight Applications "property" (checked again to be sure).
It just won't load when i start the page, it has a black/white background (and yes, when i right-click, i can see the "Silverlight"-menu), but the element itself is not loaded :(.
I have solved it myself.
Their are some reasons.
It's not yet referenced in your project. Go the the settings for the website and select the Silverlight project.
The IIS is not yet configured to handle the different Mime-Types, you can find more information:
For IIS Express
For IIS
It should be these mime-types:
application/x-silverlight-app
application/xaml+xml
application/x-ms-xbap
4.Or the Link to the XAP File is wrong.
You can check it out with Fiddler2 (which also solved my problem).
Hoped that helped someone :)
I have to guess that you are adding your Silverlight project to an MVC website that was created separately (as MVC is not the default website type for a Silverlight project).
If that is the case, you need to go to your project settings for the website and select the Silverlight Applications tab on the left, the press Add and select your Silverlight project. By default that will also add a test page for that Silverlight app to your website (might come in handy for testing).
This creates the relationship that will copy the XAP to the ClientBin folder of the Website.
I am new to IIS and it is annoying the hell out of me!
I have an asp.NET website that runs beautifully on visual studio 2010, so what i do, is publish the website, put the published website folder in the inetpub/wwwroot folder, connect all the dots, then in my browser i type in http://localhost:8080/A3Media/ and it brings up my index.html page. So the IIS is working correctly because it happily displays .html files. but when i try and access a .aspx file in my website. I get i weird 404 error saying the document doesnt exist. When it obviously does exist because... I checked... multiple times!
So i deducted that my IIS doesnt like .aspx files or anything to do with asp.NET.
So i make sure that i have all the asp.net modules installed by following the usual "windows features" and making sure the asp.net folder is ticked and installed, along with all the depending asp.net folders.
and my website still doesnt work.
have i missed something?
i have no idea:(
One of two options spring to mind.
Have you registered ASP.NET? aspnet_regiis.exe -i Link
cmd -> cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework\v4.0.30319> aspnet_regiis.exe -i
In IIS manager - Request Filtering - Is .aspx denied?
Make sure you convert your "A3Media" directory into ASP.NET Application via IIS Manager, please see Deploying ASP.NET Websites on IIS 7.0 for more details.