Questions tagged [cassini]

The Cassini Web Server is an open-source lightweight web server distributed with ASP.NET as an example of an ASP.NET web server written in C#.

cassini
Filter by
Sorted by
Tagged with
0 votes
1 answer
81 views

Branched Site Deployment Problems

I have branched some code on my dev machine for an ASP.NET Webforms app. .NET 4.0. The working copy (original) runs on IIS 7 localhost in an IIS Application. I thoguht I would keep things simple and ...
onefootswill's user avatar
  • 3,858
0 votes
1 answer
234 views

How to change web server from iis to cassini without loading project to VS?

I want to change webserver of a project from IIS to cassini. I can't load my web project to VS. VS gives this error: Can I change webserver option without loading project. Thanks for your helps.
cagin's user avatar
  • 5,872
0 votes
2 answers
1k views

Utidev webserver's windows service not running

im trying to host my website developed in ASP.net4.0 in Ultidev's casini webserver 2.0. bt when i try to host the same or click on http::/localhost:port, im getting following error. Utidev webserver'...
Ram's user avatar
  • 923
3 votes
1 answer
648 views

How to use ApplicationManager to load an object with out GAC'ing it?

I'm trying to use the Cassini webserver to create a deployment test host- a sort of embedded web server to isolate web server config issues from app deployment issues. Okay, so this line of code blows ...
MatthewMartin's user avatar
0 votes
1 answer
232 views

Breaking AppDomain boundary of ASP.NET website

I am building an integrated testing environment dedicated to a particular bunch of applications. The testing environment relies on VS testing infrastructure. The test subject apps are a web clients, ...
user256890's user avatar
  • 3,416
2 votes
1 answer
831 views

Is Visual Studio Asp.Net Development Server Really Multi-Threaded?

I'm debugging a WebProject in VS2010 that runs in the local dev server (cassini?). One of the aspx pages calls a ManualResetEvent.WaitOne() and another Page aspx page calls the ManualResetEvent.Set() ...
MandoMando's user avatar
  • 5,325
0 votes
1 answer
606 views

Running MVC application under Cassini

I am trying to run Asp.Net MVC applications using Cassini but when i launch my application, all I get is directory listing and not the results of my default controller/action. What I am I missing? I ...
Joe's user avatar
  • 629
2 votes
2 answers
12k views

Why RewritePath changes the Browser Url?

I have an ASP.NET 4 HttpModule (see code below). When the url path starts with "/1.0" I want Cassini/IIS to go to MyService.svc. However, I don't want to show "MyService.svc" to the user (i.e. no ...
Martin's user avatar
  • 40k
4 votes
1 answer
15k views

viewStateEncryptionMode="Always" not encrypting

Due to some security concerns i need to enable View State Encryption. I have viewstate & viewstateMAC turned off but i need to encrypt the "control state" string that is included in the ...
felickz's user avatar
  • 4,357
0 votes
1 answer
127 views

WCF - using UserName security during development

What is the least resistance approach for enabling WCF username security in a development environment that utilizes Cassini that will allow us to configure that same solution using ...
Mayo's user avatar
  • 10.6k
1 vote
5 answers
2k views

Is there a good reason to use CassiniDev instead of VS WebServer?

I discover this WebServer to use with Visual Studio (http://cassinidev.codeplex.com/) Anyone know if this is better than VS WebServer?
Acaz Souza's user avatar
  • 8,491
1 vote
2 answers
413 views

Why do my LDAP calls occasionally fail with these messages?

I am developing an intranet ASP.NET web application that's configured to use Integrated Windows Authentication. My web app needs to check user entitlements using LDAP to get user memberships, etc. ...
Icarus's user avatar
  • 63.6k
2 votes
2 answers
6k views

"System.FormatException: Input string was not in a correct format" thrown when filling a dataset through IIS 7 but no error in Cassini?

Visual Studio 2010 Express, ASP.NET MVC3, C# with an ODBC data connection on Windows Server 2008 R2. This code runs as expected when using Visual Studio's built-in web server, but fails with a "...
Garth's user avatar
  • 31
1 vote
1 answer
284 views

Javascript error in ASP.NET caused by changing from Cassini development server to IIS 7.5 express

I have recently changed from using the cassini development server to IIS 7.5 express, and have found that on some pages my javascript is throwing 'Object doesn't support this property or method' ...
wjamie2340's user avatar
0 votes
2 answers
2k views

Why do my ETag headers work under IIS but not under the VS2010 web server?

In my ASP.NET MVC 2 app, I have the following lines: Response.Cache.SetMaxAge(TimeSpan.FromDays(90)); Response.Cache.SetETag(lastWriteTime.Value.Ticks.ToString()); Using Fiddler to trace the HTTP ...
Dylan Beattie's user avatar
3 votes
2 answers
1k views

Gzip compression in Cassini in Visual Studio 2008/2010

Is is possible to turn on gzip compression in Cassini server under VS 2008/2010?
mgamer's user avatar
  • 13.8k
4 votes
3 answers
3k views

What reason would Visual Studio ASP.NET Development Server start returning HTTP 503 errors?

I've been putting together a website for a few weeks, most of the routine has just been creating new web forms with master pages. I've been using the ASP.NET Development Server to view my additions to ...
Christopher Garcia's user avatar
0 votes
1 answer
100 views

Why is my web-app rendered differently in IIS vs in cassini

I have created a stock Web App in VS2010. In Cassini the web-app is rendered normally, but in IIS no styles are shown. I am using IIS 7 in Win7
callisto's user avatar
  • 5,031
0 votes
3 answers
357 views

Deploy Cassini application with Click Once. How do I copy web application to output?

Is there an easy way to include the output of a Web Application in VS2010. My goal is to deploy a Cassini based web application with Click Once. To do this I want to take the published version of the ...
Chris Lucian's user avatar
  • 1,013
1 vote
1 answer
210 views

Is it possible to pass something in to Cassini-dev running an MVC3 app that could be used to override a component in the app's IoC configuration

I am writing an MCV3 application using Windsor as the IoC container. I am using Cassini-dev and WaitN in the Acceptance tests and have a number of basic tests which work fine. What I normally do in ...
Bronumski's user avatar
  • 14.1k
0 votes
2 answers
288 views

Error 2104: Could not Load Sivlerlight Application

[The 2104 error has now "magically" disappeared and I don't know (yet) what changed - so please don't spend time on this. I will post back if/when I figure out what caused the original problem.] ...
Bill Cohagan's user avatar
0 votes
1 answer
610 views

SSL authentication with Cassini

can we use following methods for ultra cassini ? as i know it is very well with IIS - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)...
Pooja's user avatar
  • 2,180
0 votes
3 answers
388 views

Does Utidev Cassini support SSL?

I know that IIS supports SSL. However, we have a use case that we are evaluating Utidev Cassini for. However, I do not know if ultra cassini supports SSL. Does it?
Pooja's user avatar
  • 2,180
3 votes
2 answers
1k views

Access WCF Service from another pc

I've spend hours and hours on this and simply can't get it to work. Maybe my understanding of hosting WCF service and creating a client for it isn't correct. My website has a WCF Service added to it, ...
FaNIX's user avatar
  • 1,908
14 votes
5 answers
13k views

Android Emulator loopback to IIS Express does not work, but does work with Cassini

I am attempting to post data from an Android application running in the Android Emulator on my local machine to a web application running under IIS Express also running on my local machine. ...
ahsteele's user avatar
  • 26.4k
1 vote
1 answer
1k views

http handler example doesn't work in .net 4, VS2010 cassini

I just tried this simple example in a new web site to create an http handler in .net 4: http://msdn.microsoft.com/en-us/library/ms228090.aspx#Y700 It looks so simple - I just copied the http handler ...
John Hoge's user avatar
  • 2,381
0 votes
3 answers
257 views

ODP.NET calls hanging when used with Casini

I am having a problem trying to instantiate Oracle.DataAccess.Client objects in a web application. To test this I created a new asp.net web application and inserted the following code into the code ...
zaq's user avatar
  • 2,641
0 votes
1 answer
839 views

Why does Visual Studio append the solution path to the root url when using default server?

When I use the default server in Visual Studio 2010 (Not sure if this is cassini or IIS?), the the last folder within the path at which I open the web site project (not a solution), is appended to the ...
jaffa's user avatar
  • 27.1k
4 votes
3 answers
8k views

Entity Framework "The underlying provider failed on Open" - Cassini vs IIS

I have a service that uses EF to retrieve data from a SQL database. The EF model is in a class library. In the class library the connection is configured as: <add name="APIC2CEntities" ...
Mark Cooper's user avatar
  • 6,774
0 votes
2 answers
133 views

EF4.1 error on one machine and not on another

I am getting this error on one PC but not on another. Both are connecting to a local SQLExpress 2008 R2 database which is identical on both machines. Both machines have VS2010 SP1 and EF4.1 (included ...
enashnash's user avatar
  • 1,578
2 votes
2 answers
3k views

ASP.NET MVC - Quickest way to preview changes to page in MVC app using VS web server

I'm an ASP.NET Web Forms developer who has recently switched over to an MVC web app. I'm having difficulty working out the quickest way to preview code changes when running the MVC web app through ...
David's user avatar
  • 15.9k
0 votes
2 answers
2k views

Authentication mode=“Forms” causing redirect in WCF service

I have a WCF end point inside my .NET 4.0 Web Application project. Using the VS2010 WCF Test Client, I can connect to the service correctly. However when I go to use the service I get a generic error ...
SmudgerDan's user avatar
0 votes
3 answers
1k views

WCF service works in cassini, but not in IIS

I created a service that has a database connection which is working fine in Cassini, when in copy the service to the inetpub all works fine except database calls, they always return this error: The ...
nldev's user avatar
  • 299
5 votes
4 answers
2k views

Which build of Cassini should I choose for production? There are 8 public builds from 5 different authors

I found several versions of an IIS-free Cassini webserver built by Microsoft. I'd use it but I'm unsure of which one is best, since there are many forks/builds: the original dmitryr's v3 (with ...
makerofthings7's user avatar
0 votes
2 answers
469 views

which account IIS uses to run asp.net project

Any idea which account IIS uses to run asp.net project. My project or code access file which is in C:\path\path directory. When I test the project in my machine it runs fine (well I am running in ...
Rahul's user avatar
  • 77.1k
0 votes
2 answers
545 views

Using ASP.NET authentication / authorization with Cassini development server

I've just run into one of the problems of using the integrated dev server (Cassini) in VS and would like to see if there are any solutions. We're using asp.net authentication to secure the site. ...
Martyn's user avatar
  • 1,456
1 vote
0 answers
480 views

DNS Error Page Not Found Using Cassini and IIS Local Server

I have an existing asp.net project that I'm attempting to move to a new development machine. The issue I'm encountering is that even though the project builds without error I cannot preview the page ...
hughesdan's user avatar
  • 3,029
1 vote
1 answer
1k views

Named Pipes provider error 40 when running on IIS 7, but works fine in cassini

I have a web app which connects to a remote sql server over the internet. It accesses via an alias which is configured with the alias name, hostname, port and TCP/IP as the protocol I can access the ...
slippyr4's user avatar
  • 862
1 vote
1 answer
331 views

Playing ogg files in Visual Studio debugging mode

This might be more of a cassini issue with MIME Types (can you change them? It doesn't look like you can or am I wrong?). I'm building a site that is using the audio tag to play audio files. For ...
graham's user avatar
  • 946
1 vote
1 answer
305 views

WCF not responding when calling it in an loop

I try to generate a lot of User in my DB using a WCF service using a loop. The script and the web service are running locally (Cassini). FormWCFClient formClient = new srForm....
Spilarix's user avatar
  • 1,448
0 votes
1 answer
384 views

Visual Studio 2010 Debug Server Not Recognizing My Changes

Using Visual Studio 2010 on Window 7 64bit. I'm trying to test a website project (not a web application project) using the built in dev server (cassini). The problem I'm having is that when I make a ...
Steve Johnson's user avatar
1 vote
2 answers
817 views

asp.net development server starting unintentionally

Bad day at the code face. I normally debug my web applications using a local copy of iis. Today while testing that code I suffered a couple of stack overflows. Following that visual studio failed ...
Giles Roberts's user avatar
0 votes
2 answers
650 views

File.Open not working under Windows 2008R2 IIS with Admin Credentials. Works under VS2010 Cassini

The following code works fine under Cassini, but not at all under IIS. I get file not found, and am unable to get files on a remote share, or locally when I tested C:\test.pdf (to test IIS permissions)...
makerofthings7's user avatar
0 votes
2 answers
534 views

Making a copy of an ASP.NET MVC website on the same machine - catastrophy?

I wanted to run (using Cassini) two copies of my web application from the same computer - not unreasonable (or so I thought!). One using port 80, the other using port 81. So I did the following: ...
Jimbo's user avatar
  • 22.7k
12 votes
6 answers
9k views

Where does the ASP.NET development server keep its logs?

I am trying to sort out a problem where some relative urls are not resolving properly in an ASP.NET website. I want to see the HTTP logs to determine which URLs are being requested from the web server....
David's user avatar
  • 1,960
1 vote
1 answer
1k views

WCF Server returning "Content-Length: 0"

Greetings, I create a new project (in VS2010) using; File -> New Web Site -> .NET Framework 3.5 -> WCF Service Service works great via Cassini, can view the WSDL metadata with success. Then I ...
CmdrTallen's user avatar
  • 2,272
1 vote
0 answers
558 views

In which circumstances are suitable for Web Application or Web Site in Visual Studio?

I have one project which has APP_CODE folder and runs with Windows Authentication. 1) I created Web Site and added the files of project but I couldn't run with windows authentication 2) Then I ...
uzay95's user avatar
  • 16.3k
4 votes
2 answers
3k views

Visual Studio 2010 and Cassini web server can't make windows authentication! (Access Denied 401.2)

How it could be difficult to make a web site which is integrated with domain authentication in visual studio!? This is my web.config: <authentication mode="Windows"/> <identity ...
uzay95's user avatar
  • 16.3k
9 votes
2 answers
2k views

How can I launch Cassini Web Server from a command line or batch file?

Is there anyways to launch Cassini web server from a command line? The exe appears to be in this path, C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0 I try to use the suggested ...
Hcabnettek's user avatar
  • 12.8k
2 votes
1 answer
638 views

Cassini (VS WebDev) executing BeginRequest and EndRequest on different threads

I'm debugging an ASP.NET MVC 2 application running on .NET 4.0 (Windows 7), currently inside of Cassini, the Visual Studio Debugging Web Server. All was running well, when I suddenly was having ...
Jonas Sourlier's user avatar