hosting

Is it possible to access cookies which exists on another application in IIS?

我的未来我决定 提交于 2019-12-11 09:52:26
问题 I have 2 website on my IIS7, I can put the same domain for both of them, I want some cookies of both applications to be shared between them, so than I can create the cookie from one of them and read it from the other one, is that possible? do I need any custom configurations to do that? note: My websites, 1 is asp.net forms website and the other is MVC. 回答1: When you create the cookie specify the domain: var cookie = new HttpCookie("foo", "bar") { // indicates that only server side scripts

CodeIgniter on 1and1 Error Reporting

被刻印的时光 ゝ 提交于 2019-12-11 09:45:04
问题 I made a website with CodeIgniter and I am currently hosting it with 1and1 . During development, everything looked golden. Only if all hosts were as reliable as localhost. I am looking to get the PHP error logs from the site. Unfortunately, 1and1 does not allot access to their Apache logs. How can I get error logs? Debugging fatal errors is a pain without logs. What I have tried? The custom error logging function Modifying the local PHP.ini to allow/log errors Used php5 by adding the

WCF- console hosting

柔情痞子 提交于 2019-12-11 09:15:39
问题 I am just wondering.. I've created working WCF Service, where serwer is a console application. This works only when I launch the host within the Visual Studio, is this right? I mean when I try to launch in from *.exe, it seems to work, but then my localhost page shows blank page and client crashes. I know I can use IIS, but is that correct behaviour (as I think it is)? Host using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

Deploying a Rails app on dreamhost issue

一世执手 提交于 2019-12-11 09:08:57
问题 So I'm at a loss with this one. My error is: Missing these required gems: jrails You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.6 at /home/ryann/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run rake gems:install to install the missing gems. I have unpacked jrails in my vendor directory and frozen my local rails environment. Everything works fine on my local machine. I am using config.gem 'jrails' in my environment.rb file. My trace is (sorry for the mess): 0 /home/ryann/intercomhq

How do I find a ASP.NET hosting company that supports SQL Server with CLR enabled?

允我心安 提交于 2019-12-11 06:36:45
问题 So I developed a web application in ASP.NET and SQL Server 2008. Part of the SQL code I implemented as a .NET assembly (instead of t-sql) because it is performing intense calculations that are better written in C#. Now I am ready to deploy my application, but I am stuck looking for a hosting company that allows this. Scratch out Discount ASP (see this forum post). I tried emailing other hosting companies and I either get no reply or they say they will not support it. Any recommendations? What

Resizing Azure VM image automagically

依然范特西╮ 提交于 2019-12-11 06:31:26
问题 Is it possible to trigger a resize of an Azure VM automatically based on a set condition? For example, increase from a 'Medium' machine to 'Large' if the processor/RAM is over 90% usage out for 5 minutes? Then, obviously scale back down when usage reduces? Or... is it possible to schedule a resize between (peak) UK office hours then downscale off-peak? Just a thought... 回答1: Worth checking out the Auto Scaling Building Block from the patterns and practices team, part of the Enterprise Library

RFC Repository of programming RFC's with ability to direct-link sections or even lines?

家住魔仙堡 提交于 2019-12-11 06:06:20
问题 Forgive me if this is the wrong place to ask this, I feel like the question is slightly off-topic even though it is also about programming. I am inputting todo-tasks for my WebDAV-project into my issue tracker, as I read through the relevant RFC's, and it would be nice to be able to add a link in my issue text directly to the relevant text, instead of just a link to the RFC file with a section number in the issue text, and then I have to use the find function to find it. For instance, a link

Django Admin - “Incomplete response received from application”

て烟熏妆下的殇ゞ 提交于 2019-12-11 05:09:47
问题 I've recently started a Django project - When I go to the Admin page I get an "Incomplete Response Received from Application" message. I only get this error when viewing my project from my A2 hosting domain www.educate-malawi.com. You can access the admin page at the bottom right of the home page. Is this a problem for my host or is it something that I can fix? I've tried looking for answers to this problem but everything mentions Ruby on Rails - This is not a ruby on rails project . If you

Silverlight WCF Self Hosting seemed not to locate ClientAccessPolicy.xml

十年热恋 提交于 2019-12-11 04:32:40
问题 I've created WCF self hosting service in local machine and silverlight App gets data from this service and send it to remote server. It worked well for more than a month but suddenly stopped complaining well known errors clientaccesspolicy.xml not resolved. After spending quite some time to debug, I realized it failed since the remote server address has been changed into IP address instead of domain addresss, for example http://2xx.1xx.223 iso http://www.myserver.com, but domain address is

assembly does not allow partially trusted callers

六月ゝ 毕业季﹏ 提交于 2019-12-11 04:06:42
问题 I am building a site using fluent NHibernate, which works just fine on the dev box. However, after I uploaded it to my host I get the following when trying to run it. "System.TypeInitializationException: The type initializer for 'NHibernate.ByteCode.Castle.ProxyFactory' threw an exception. ---> System.Security.SecurityException: That assembly does not allow partially trusted callers. Is this something I will need to resolve with the hosting company (CrystalTech)? Any help much appreciated.