Deploying Silverlight RIA The remote server returned an error: NotFound - ria

I've installed RIA Server, set the relevant DLL's to "copy local = true" but whenever my application tries to access my service/db I get:
Load operation failed for query 'GetWeatherDatas'. The remote server returned an error: NotFound.
I deployed by copying the xap file and the test page from Visual Studio.
Fiddler reports a 404 error
GET /TheWeatherProjectv2-Web-WeatherDataService.svc/binary/GetWeatherDatas?$orderby=it.date_recorded%2bdesc&$take=10080
Are there application settings I need to add to IIS or change something in my web config?
The machine is Windows 7 pro, running IIS 7.5, I'm hosting the application on my own machine.
Many thanks

Resolved this problem by using 'publish' via Visual Studio 2012, I also had to add an IISAPPPOOL\DefaultAppPool account in my SQL Server database

Related

How to switch ASP.NET Core MVC application from IIS Express to local IIS after allowing Visual Studio to generate IIS certificate?

I had a previously running ASP.NET Core MVC application working fine on local IIS in Visual Studio when I hit the PLAY button, however some other sites and applications I was working on, on the same computer, did not run on IIS Manager when browsing directly to them from IIS manager or running them in Visual Studio.
Most applications that uses HTTPS for example mentioned that the "Remote Certificate is invalid for the validation procedure message". Yet for some other sites that used IIS Express, it worked fine.
What I have done to try to fix this is:
Removed the original IIS Self Signed Certificate from IIS Manager
Then deleted the website that was working fine
I then used GIT to clone the repository the application is located in
When I opened the solution again that previously worked in Visual Studio it gave me the following message about creating a new IIS Certificate:
Message I get when opening visual studio after deleting the already Self Signed IIS Express Certificate for Local development
Initially I hit YES to this which may be the cause of the problem
Now when I run the application that previously was working and seemed to be using LOCAL IIS, it keeps defaulting to IIS EXPRESS I can see beside the play button
Is there anyway I can put this back to running on LOCAL IIS for my ASP.NET Core MVC application? I cannot see it listed even in the IIS Manager on my computer.
Thanks
Henry

LocalDB does not starts correctly for IIS worker process

When I deployed MVC application on IIS then localDB databse is not starting correctly. Error message is as follows:
Windows API call WaitForMultipleObjects returned error code: 575. Windows system error message is: {Application Error}
The application was unable to start correctly (0x%lx). Click OK to close the application.
Reported at line: 3621.
But the localDB is working fine with visual studio application and with sqlserver management studio. I already have restarted it and recreated it by command prompt to make it work. But nothing is working. The problem came when i re installed IIS in my machine.
How can i fix this. Any help will be appreciated.
Simply delete all files in "C:\Users\MYUSERNAME\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\v11.0" folder. Give write permissions to v11.0 folder. If you can't create another instance give write permission to Instances folder.

Issue with the 'AspCompat' attribute on IIS 5

I have an IIS installed on my machine. When I try to run my asp file, it gives me Active Server Pages error 'ASP 0221' The specified 'page aspcompat="true" ' option is unknown or invalid.
I run the same app from visual studio 2005 and it works fine. I don't know why it is not running from IIS. I have to deploy this up in a remote server and run it from local.I have allowed active server pages to run on the IIS on web service extensions.
Other ASP websites seems to run fine except this website I am working now. I don't why it is complaining about this directive.
The reason is some old ODBC connection will not work if I remove this asp directive 'page aspcompat="true"
Please Help..
Thanks

The web server does not appear to have FrontPage Server Extensions installed : visual studio 2012 iis express

I'm using visual studio 2012 and i have a windows form app. the iis express server is configured by default with visual studio 2012.
I have to publish my windows form app. For that, i have create a storege object on azure platform.
But when i try to publish the project using clickonce i have that issue :
Error 83 The Web server does not appear to have FrontPage Server Extensions installed. If FrontPage Server Extensions are installed, this error can occur because the _vti_bin virtual directory is not marked as executable. To correct this problem, run Internet Information Services Manager, select the Web server that has the problem, and then use the Check Server Extensions command.
Screen shot :
https://docs.google.com/file/d/0B-aV0dsLT4CaemZuQV93Ymt4UVE/edit?usp=sharing
I had no issue during the creation of my storage object on azure, and the URL is good !
I have installed de FrontPage Server Extension several times and normally it's good.
i really need to publish my project, if someone can help me ...
Thanks for help.
You are trying to do HTTP publish to a server that doesn't have FPSE installed. FPSE was no longer available after Server 2008 (I'm guessing here, I just know it's not available for newer versions of Windows Server).
Instead of doing HTTP, use FTP. So you FTP the files to the web server, and use an HTTP link for the customer to access them.
For example, your publishing file location might be
ftp://myserver.com/myfolder/
and your installation URL would be something like
http://myserver/thefolder/

HTTP Error 404.3-Not Found in IIS 7.5

I'm using IIS 7.5 on Windows Server 2008 R2 x64 Enterprise Edition. In the project we have developed with ASP.NET 4.0 we used WCF Service. But it doesn't run over domain when the software is running from local computer. Otherwise, I am getting the following error:
HTTP Error 404.3-Not Found
The page you are requesting cannot be served because of the extension
configuration. If the page is script, add a handler. If the file should
be downloaded, add a MIME map.
You should install IIS sub components from
Control Panel -> Programs and Features -> Turn Windows features on or off
Internet Information Services has subsection World Wide Web Services / Application Development Features
There you must check ASP.NET (.NET Extensibility, ISAPI Extensions, ISAPI Filters will be selected automatically). Double check that specific versions are checked. Under Windows Server 2012 R2, these options are split into 4 & 4.5.
Run from cmd:
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
Finally check in IIS manager, that your application uses application pool with .NET framework version v4.0.
Also, look at this answer.
In my case, along with Mekanik's suggestions, I was receiving this error in Windows Server 2012 and I had to tick "HTTP Activation" in "Add Role Services".
In windows server 2012, even after installing asp.net you might run into this issue.
Check for "Http activation" feature. This feature is present under Web services as well.
Make sure you add the above and everything should be awesome for you !!!
I was having trouble accessing wcf service hosted locally in IIS. Running aspnet_regiis.exe -i wasn't working.
However, I fortunately came across the following:
Rahul's blog
which informs that servicemodelreg also needs to be run:
Run Visual Studio 2008 Command Prompt as “Administrator”.
Navigate to C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.
Run this command servicemodelreg –i.

Resources