Questions tagged [webmatrix-2]

Microsoft WebMatrix 2 is a basic development envirnoment for creating websites. It's bundled with a simple but powerful SQL server and a lightweight web server. Languages supported include VB, C# and even PHP. The native view engine uses the Razor syntax.

Microsoft WebMatrix 2 is a basic development envirnoment for creating websites. It's bundled with a simple but powerful SQL server and a lightweight web server. Languages supported include VB, C# and even PHP. The native view engine uses the Razor syntax.

104 questions
0
votes
2 answers

WCF with SSL doesn't use any certifacte and fails

I have created a WCF with several calls and I want to protect it with Transport security so it'll go over SSL. So I configured SSL in webmatrix since I'm using VS2012 + IIS Express like you can see below. HTTPs configured in Webmatrix on port…
Tom Kerkhove
  • 2,151
  • 5
  • 26
  • 42
0
votes
1 answer

Deploying non-MVC website to IIS7 (Windows 2008) server from Visual Studio 2012

Is there a documentation or how-to on deploying non-MVC website from Visual Studio 2012? I have seen some saying to use references (bin directory) which is all I need for Visual Studio 2012 but I haven't been able to get it to work. Apperantly,…
fletchsod
  • 3,560
  • 7
  • 39
  • 65
0
votes
1 answer

Migration of Access dataBase to SQLServer, what should I change in the code?

I have a web site that uses access database, I want to change connection to SQL Server DB, I migrate the Database with SQL Server, however I Have to change the connection code and sql requests. here is a copy of what I have in the code (Im using…
tollamie
  • 117
  • 1
  • 6
  • 20
0
votes
1 answer

Active Server Page Error with WebMatrix

When I execute my ASP pages I get this error in the browser: Active Server Pages (ASP) erreur 'ASP 0131' Parent path unauthorized /Admin/nimda_cansu.asp, ligne 1 The include file '.. / Inc / Inc.asp' can not contain '..' to indicate the parent…
tollamie
  • 117
  • 1
  • 6
  • 20
0
votes
1 answer

WebMatrix 2 asp pages issues

When I open my web site in WebMatrix 2 to update the database and add some pages, I get errors in my asp pages like: This document type is not supported. IntelliSense and validation for this document type will be based on HTML 5. The problem is…
tollamie
  • 117
  • 1
  • 6
  • 20
0
votes
1 answer

find database data

I using webmatrix to build a website. I use the database which webmatrix sapply, where can I see the database? In the project folder I see only the source files, but not the database.
moriya
  • 31
  • 5
0
votes
1 answer

Azure/WebMatrix web.config 500 Error

I've tried to add a MIME type to the webmatrix web.config file to run in Azure: But I get a 500…
user1203605
  • 83
  • 2
  • 12
0
votes
1 answer

How to Cache Multiple Versions of a Page using Razor Dynamic Query & WebCache

I decided to implement caching to improve the performance of the product pages. Each page contains a large amount of the product's images. I created the following code in a Razor view. @{ var productID = UrlData[0].AsInt(); var cacheItemKey =…
0
votes
2 answers

Displaying info in form to update - Razor WebMatrix

People, i have been breaking my back searching the internet for the answer to this. I need to know the code needed to show user details in a form, so that they can change and update their info? I've tried with the following code, but i am hitting a…
Gavin5511
  • 791
  • 5
  • 31
0
votes
1 answer

Maximum File Upload Size Error In ASP.NET Razor site

I have built a video site using Webmatrix 2 but when I try and upload a min of two videos .webm and .mp4 (in this case both files add up to about 34mb) I get this error... "The request filtering module is configured to deny a request that exceeds…
NickP
  • 357
  • 1
  • 7
  • 18
0
votes
1 answer

SQL Error: foreign key value cannot be inserted because a corresponding primary key value does not exist

I am creating a Manage Roles - Admin page using standard WebSecurity functionality. I'm getting the this error Foreign key value cannot be inserted because a corresponding primary key value does not exist. [Foreign key constraint name =…
QEx
  • 81
  • 1
  • 10
0
votes
2 answers

How to Update All Rows of Table SQL

Below is my code: @{ Layout = "/_SiteLayout.cshtml"; var db = Database.Open("MyDatabase"); var query = "SELECT * FROM Team"; var Teams = db.Query(query); }
Dawood Awan
  • 7,051
  • 10
  • 56
  • 119
0
votes
1 answer

Posting form values with jQuery ASP.NET Webpages Error

I am trying to send a form data, converted to JSON, to another page with jQuery, . However, I believe my POST method is not working as I am always getting the error message- which only says "error". Can anyone help me catch the exact error or tinker…
0
votes
2 answers

jquery works in webmatrix but not in VS 2008

I donwloaded and used a jQuery image slider template in my code. I use WebMatrix to design my website. But sometimes I migrate to VS2008 to create the ContactUs form etc., which I feel is easier to work with VS2008. The slider worked perfect when…
A_AR
  • 508
  • 2
  • 6
  • 20
0
votes
1 answer

how to copy records of excel to exsist table in data base in Webmatrix

I have an excel sheet of 1400 records. So Ineed to copy them to exsisting table in my data base. I try many times to do that in elegant way but...nothing. I looking for simple method to do that without code.. How can I do that? I'd be grateful to…
ofirhgy
  • 39
  • 5
Team Name