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
1
vote
0 answers

Login failed for user 'sa'. WebSecurity.InitializeDatabaseConnection

public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); …
1
vote
0 answers

refresh div content in Microsoft webmatrix

I have been trying to implement div refresh in Microsoft Webmatrix environment. I'm preparing cshtml webpage. I use following code: @{ }
Artur
  • 11
  • 1
1
vote
0 answers

Is there TLS setting on webmatrix?

I use Microsoft Webmatrix to edit and publish php. Recentley My host persist having Explicit FTP over TLS connection for the FTP transfers and I can not find such setting on webmatrix.Is anyone have a clue ?
Sam
  • 1,424
  • 13
  • 28
1
vote
2 answers

remote connection string from Webmatrix 3 to Microsoft SQL Server

This seems like a really easy problem to solve, from what I can gather online, but I cannot get it to work for the life of me: I am trying to help out my dad on his website. It is an ASP.NET based site using Microsoft SQL Server Management Server. …
Chris
  • 28,822
  • 27
  • 83
  • 158
1
vote
2 answers

No WebSecurity.GetAllUsers() method. Why?

I want to list all users who are in admin role using WebMatrix.WebData.Security. I am able see Membership.GetAllUsers() Method is there. But not WebSecurity.GetAllUsers().Why?. I used Membership.GetAllUsers () method but this throws an exception…
sridharnetha
  • 2,104
  • 8
  • 35
  • 69
1
vote
0 answers

How do I resolve a CS0103 compilation error when using the Video object in the ASP.NET Web Helpers Library?

I am starting to learn web development using Microsoft WebMatrix 3. I'm using the book Introducing Microsoft WebMatrix, which targets an earlier version, but a lot of things are the same. I'm getting compilation errors when I attempt to use the…
Jay Michaud
  • 405
  • 3
  • 18
1
vote
2 answers

Loading json data to highcharts with multiple series

Please help. Been banging my head against the wall on this for a week, trying every option I can find on line but no luck... Am using HighCharts with a C#/Razor/WebMatrix site. Trying to create a Stacked column chart - have my Categories loading…
user3117622
  • 11
  • 1
  • 2
1
vote
2 answers

search refinement in WebMatrix

i am starting to build a web page to refine some search results. The code below works pretty well, and if i add ONE of the query strings (ie, ?beds=4, it returns the correct results. If, however, i specify both query strings (ie, ?beds=4&sleeps=8,…
Gavin5511
  • 791
  • 5
  • 31
1
vote
0 answers

So webmatrix cannot connect to a port different than default one?

I'm trying to connect to localhost:45000 (it is a tunnel to my pagodabox MySQL) But in webmatrix I get this error: Call to GetHostEntry failed after 00:00:00 while querying for hostname 'localhost:45000': SocketErrorCode=HostNotFound,…
laggingreflex
  • 32,948
  • 35
  • 141
  • 196
1
vote
1 answer

How to pull data from a SQL Query based on data/id relationship. Using ASP.net WebMatrix

I'm using ASP.net WebMatrix I have a sql query which looks like this: var queryformdata = db.Query("SELECT * FROM document_data WHERE doc_id = @0", 1534); doc_id field_data field_name ---------- ---------- ---------- 1534 …
E Benzle
  • 346
  • 3
  • 15
1
vote
1 answer

PhpStorm | WebMatrix (IISExpress) | Xdebug.remote_port | -- Which Port(s) to put where?

I've got a localhost webserver setup with WebMatrix and its IISExpress. It runs the webserver as http://localhost:. I've also installed xdebug in it which runs perfectly for error-handling purposes. Now I have installed PhpStorm and I want to…
laggingreflex
  • 32,948
  • 35
  • 141
  • 196
1
vote
1 answer

WebMatrix 3 intellisense and publishing

Does WebMatrix 3 support intellisense for css libs you add or a customer css file you create? For me this doesn't work. It would be nice to have intellisense when using say twitter bootstrap for instance. I cannot figure out why when I publish…
Kirby
  • 1,739
  • 1
  • 17
  • 21
1
vote
1 answer

Multiple Bing Map Pushpins from SQL not showing in Firefox & Chrome but do in IE

I'm displaying a Bing Map (v7) in my Webmatrix2 website with a series of pushpins & infoboxes drawn from a SQL Express database using a JSON enquiry. While the maps appears in all 3 browsers I'm testing (IE, FF & Chrome) the pushpins are sometimes…
MudMaps
  • 51
  • 4
1
vote
1 answer

Webmatrix2 - Url Redirect depending on UserRole in Razor

In the webmatrix2 starter site once you have logged in there is a the following link; "hello" bob@example.com {logout} Clicking on the link will take you to a manage section however I would like it to go to a custom manage user profile page or…
daninoz
  • 17
  • 3
1
vote
2 answers

Posting without button click

Ok, I am building a site with MS Webmatrix and ASP.net, c#, javascript. I want to have my clients enter info, then if I can verify it on my database, go to paypal for payment. So the flow would be client enters info validate against the db go to…