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#.

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 is used in various ASP.NET projects such as ScrewTurn Wiki.

229 questions
0
votes
3 answers

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 behind of Default.aspx: protected void…
zaq
  • 2,571
  • 3
  • 31
  • 39
0
votes
1 answer

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 losthost url. For…
jaffa
  • 26,770
  • 50
  • 178
  • 289
0
votes
2 answers

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 in the tools update). It is an MVC3 Web…
0
votes
2 answers

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 message: The content type text/html;…
SmudgerDan
  • 413
  • 5
  • 16
0
votes
3 answers

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 server encountered an error processing the…
nldev
  • 299
  • 3
  • 15
0
votes
2 answers

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 built server; Cassini) but when I test the same…
Rahul
  • 76,197
  • 13
  • 71
  • 125
0
votes
0 answers

VS Dev Server with PayPal

I've got a client. We are trying to get their ecommerce system to go out to an out to paypal to process the credit card orders. I've done this in the past, but it was a few years ago. Their server is an iis server onsite with an ibm midrange…
0
votes
2 answers

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. However, Cassini runs in integrated pipeline mode,…
Martyn
  • 1,446
  • 2
  • 19
  • 30
0
votes
1 answer

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 change, I now have to actually stop debugging,…
0
votes
2 answers

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) The intent of this application is to make a…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
0
votes
2 answers

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: Stopped Cassini and SQL Express Copy and paste of the…
Jimbo
  • 22,379
  • 42
  • 117
  • 159
0
votes
0 answers

VirtualPathProvider - disabling caching hangs server (IIS and Cassini)

I have a Virtual Path Provider on a Web site. It does exactly what I want it to do with the simple exception that it hangs the server. This usually only happens if too many requests come in at the roughly the same time. When I remove the caching…
jbecker
  • 39
  • 4
0
votes
1 answer

How to avoid ASP.Net creating a new WorkerAppDomain, or starting a (console) app in the WorkerAppDomain?

What can I do to avoid ASP.Net creating a new WorkerAppDomain for my Custom IHttpHandler. As far I know the problem is the SimpleHttpworkerRequest which runs a new Appdomain. I have an embedded cassini webserver, with this webserver I want to create…
chriszero
  • 1,311
  • 3
  • 13
  • 26
0
votes
2 answers

Cassini Error: "This type of page is not served"

I'm trying to use the Server class from Cassini to include a basic web server in my own application. I just started playing around with it to get familiar with the way the server works and I setup a simple app that is as follows: static void…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
0
votes
1 answer

Solr count is incorrect

Background: 2 out of 3 of our Zookeeper machines snapped which caused my SOLR system to collapse. I added new Zookeeper machines and updated each SOLR machine config with the new Zookeeper machine. After this, I started the SOLR and used admin page…
user1324887
  • 632
  • 3
  • 11
  • 32