Plink Pageant Not Working And The Server's Host Key Is Not Cached In The Registry?
Nov 30, 2010
the problem in a nutshell:running plink(with specific arguments) works from cmd, but not from asp.net
the command being executed:"C:Program Files (x86)PuTTYplink.exe" -batch abc@xyz ./fake_email.sh from cmd, the command executes correctly,with fake_email.sh returning "0". from asp.net i get the following error:
The server's host key is not cached in the registry.You have no guarantee that the server is the computer you think it is.The server's rsa2 key fingerprint is:
ssh-rsa 2048 sequence Connection abandoned.i think it has something to do with the user(which .net uses to start a process) not being able to "see" the key which pageant is making available.i am running cmd as administrator.
View 1 Replies
Similar Messages:
Oct 11, 2010
I am Working on a asp.net web site. i am using visual studio.net 2008.
i use some ajax control. for my web site. i use update panel on my web pages.
when i run my web site on local host ajax control work fine but as i upload the site on server. these control are not working at all.
tell me what will i do in my web site to run the AJAX control on server side.
View 1 Replies
Dec 9, 2010
I create web service for Reading and writing the registry. It works fine in win-xp. But its not working when I published it in win-2008 server. It shows me http 500 error.
My Code is:
set Reg:
string key = @"SOFTWAREWow6432NodeMyCompanyMyProjectSettings";
string valuename = "Allow";
setRegistryValue(key, valuename, Value);
Get Reg:
string key = @"SOFTWAREWow6432NodeMyCompanyMyProjectSettings";
string valuename = "Allow";
return Convert.ToInt32(getRegistryValue(key, valuename));
View 2 Replies
Feb 26, 2010
I'm trying to debug an ASP.NET webapp that's configured to "Use Local IIS Web Server" on WinXP. When I start the debugger, the compile succeeds, and then the following error is displayed in a dialog:
Unable to start debugging on the web server. The COM+ registry database detected a system error
The webapp never launches in my browser. How can I get rid of this message and debug this webapp?
View 1 Replies
Jul 16, 2010
After hosting my site JQuery is not working, but in my site it's work properly.
I am using the script source in follwing style
[Code]....
View 1 Replies
Mar 29, 2011
I made a simple WCF web-service inside an ASP.net website.
The web-service is hosted by IIS and works fine on localhost, ie when accessing for exemple to
[URL] I get the correct "Hello World" response as expected.
But accessing to it by my computer hostname [URL] gets me an error 404 response. This is particularly confusing as the remaining of the site (mainly aspx pages) is accessible without any problem from both ways.
[code]....
View 2 Replies
Mar 11, 2010
None of my response.redirects are working.They work fine in my test environment but one I host the website online none of my buttons will cause a redirect.I have tried Server.transfer but to no avail. I have stripped away the rest of the code to see if that works but still no redirect. It will run all the code and perform and database operations but it does not redirect.
[Code]....
[Code]....
View 5 Replies
Mar 17, 2010
i am using microsoft visual studio 2008 sp1 for developing my web sitei have done url rewrite with this way and it does work on host perfectly
[Code]....
but it does not working on remote hostmy remote host is windows server 2008 sp1 and iss7do i need to make any setting on remote host to make it work ?
View 6 Replies
Mar 7, 2010
I have an ASP.NET project which is a front-end to a database. In addition to the large tables, the DB contains a few small tables to normalize the larger tables with common values. I have a VB.NET project which loads the smaller tables into memory, using "Shared" (i.e., "static" in C#) member variables, and uses them. I have a call to load the tables in Global.asax - Application_Start. This works for a while. That is, Application_Start runs when I first run my project, loads the cached values, and will correctly keep them in memory for a while.
What I'm seeing (when running my project via Visual Studio 2008 Debugger, hosted locally) is:
A) The Application_Start code will run more than once. Not in a row, but after the user has navigated to some other pages, I'll see (my breakpoint in) another call to initialize the cache, coming form Application_Start. Is it expected?
B) The "Shared" variable that was set to True when the cache was initialized is now False again (which should only happen when the class is first loaded). Similarly, all the data that was chached is no longer present. That is, it looks like VB is unloading all the Shared members. Is this expected?
If these are the expected behaviors, is there a way to do what I want? The code is in a module that is also used by other (non-ASP.NET) projects, and seems to work correctly for them. I'd rather not have to duplicate this functionality for something specific to ASP.NET, but would like to know what my options are.
View 1 Replies
Jan 20, 2010
I have a large DataTable cached in my web app that is the result of a complex query that returns a large data set. Whilst this data table is cached the query that runs to "refresh" this cache still takes a long time, largely due to the sheer amount of data being returned. In order to speed this up I am considering implementing a timestamp type approach to my tables in order to limit my query to only return rows which have changed.
I then intend to merge this smaller dataset with my cached datatable. Has anyone done anything similar to this, or is there anything out there that handles this already? I feel this could be a re-inventing the wheel situation if I dive straight in.
View 1 Replies
Feb 25, 2011
I have encountered this problem before on a few shared hosts but cant remember the fix. I have spent almost 2 days googling and I have even gone through 2 external hd's of backups of old projects and read the web.configs but I just cant put my find it and I dont think I am googling the correct terms...
I am using Mysql Connector/Net to store asp session state.
The mysql db is on the hosting server ( I have no mysql locally).
Opening a page locally creates a session in the db.
Opening a page on the host does not.
I have seen this issue before but was a long time ago and I have searched a few of the answered questions here but not too extensive, I'm sick of searching.
View 1 Replies
Oct 28, 2010
I have used a external js file for a upload operation in my page.. once the file get loaded in temporary folder, it gets loaded from there even if new changes are made the old version that exist in temp folder gets loaded... i have writtenResponse.Cache.SetCacheability(HttpCacheability.NoCache); on my page But it still loads the js file in cache. When i cleared the temporary files manually it works fine...But i cannot ask my client to clear temp folder,,,Is there any solution to load js file not from the cache, ie reload every time page is loaded...
View 2 Replies
Jan 21, 2011
I have created my site using ASP.NET Personal Starter Kits 3.5. I use Visual Studio 2008 only . .with its built-in SQL Server (2005 Express) ... my database in App_Data is ASPNETDB.MDF ...
I have created some of my tables also ....in ASPNETDB ..
In my local PC the site was running fine ...
But when I publish my site on production server it doesn't work and shows the following error
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
My hosting provider connection string ..
<add name="ConnectionString" connectionString="Data Source=69.16.253.19;Initial Catalog=usa_data;Persist Security Info=True;User Id=user;Password=pass" providerName="System.Data.SqlClient"/>
My hosting provider gave me the connection string to connect to the SQL Server 2005 but it doesn't work...
I don't understand why my site was running fine using the production SQL Server 2005 in my local PC when I include ASPNETDB.MDF file in App_Data in my local pc only ..if I remove file ASPNETDB.MDF from App_Data of my local pc ... the site stops working ...
Can anybody tell em how to fix this ... !! I am very tensed since last 3-4 days
View 1 Replies
Nov 17, 2010
I'm currently developing a website using VS2010 Express/SQL Express 2008, and am using the applications development server to test.
I have created an access layer which effectively takes all my cachable data and creates datasets.
I've also created a system wheras for each dataset, For each dataset I also create a token cached object (a string), which is set to expire before the dataset. The theory behind this is that when my token expires and is removed from cache, it calls a routine to rebuild the dataset, and re-caches the new result, then creates a new token. Think of it as a poor mans SQL dependency.
What this allows me to do is rebuild datasets behind the scenes with little interruption/delay throughout the day. It all works great - for instance when a user updates a table containing 100,000+ records on the site, the dataset rebuilds at hourly intervals reworking and consolidating the data in the background before representing it in a smaller cachable form.
What I would like to know is this. If I was to replace the database during the usable day (only updating the tables that users don't update), lets say adding 50 new records, would it cause the cache to be dropped. The reason I ask is because it the cache remains until its exipry time, I can replace the database and rebuild datasets incorporating new data in the background when the token expires. If the cache is dropped when I update the database, it will mean interuption whilst I reload the datasets and will change my strategy on uploading new data.
I ask the question because I'm currently working on the development server and unable to test in a live server environment at present.
View 1 Replies
Jun 17, 2010
I have created database .sql file for create schema with export database. (its .sql file size is 48.2 MB)
View 1 Replies
Mar 17, 2010
My kind webhost (1and1) royally asked me to go elsewhere to do something like this.
I have 2 sites. One of them was developed by a .Net programmer. Now I am contracted to implement a PHP site and fetch data from the .Net site.
There is an ASP.Net form that a customer fills and when they hit submit, the data gets stored in SQL Server DB. How do I also store the same data in MySQL parallelly? I cannot directly use some database connectors with ASP.Net since MySQL connectivity is not supported on 1and1 Windows hosting (biz account, no less!).
What I thought of is to publish an RSS feed of entries in ASP.Net site and routinely scrape that data into MySQL on Linux host. It is an overkill, I know. Not efficient.
View 1 Replies
Feb 24, 2011
I have one IIS entry with AppPool integrated mode. There are 5 or more host headers assigned. The application pulls data based on the host name from Request.Url.Host. When I have 2 or more sites open at the same time the value of the Request.Url.Host is the same across all the sites. About every 30 seconds it resets itself to the correct value from the last request and shows that value on the other sites. So ultimately the sites are loading the same data. The value in the HOST server variable is incorrect as well.
View 1 Replies
Oct 27, 2010
Is it true that ASP.NET and IIS hosting is more more expensive that PHP and Apache? Say I want to host a dedicated server, then will the difference be that big?
- Another thing, do I really need a license for SQL Server database and IIS or something like that when I pay for a company for the dedicated server or they will pay that?
View 17 Replies
Jun 27, 2010
I have heard of the pains of setting up IIS. On a windows box, can I simply drop a ASP.NET application into Apache server and have it work? Or are there any other server alternatives? I am relatively new to web server concepts. I have heard suggestions for the server in mono but it doesn't seem practical using mono on a windows box, I could use a Linux box with mono, which wouldn't surprise me if it worked better then a windows solution, but for arguments sake this question is directed towards a windows box.
View 2 Replies
Jun 29, 2010
I have developed my first MVC application, which runs perfectly on my local development box.
However after publish to a server running IIS 7 I cannot get the application to work?
1. I created the application in IIS 7
2. Changed authentication to use Forms Authentication instead of Anonymous.
But this exception is generated - shown in browser:
[code]...
View 1 Replies
Mar 16, 2011
I am creating an application on my test machine at home. It will require logins, roles, memberships etc.
Just a quick question, will there be any problems when uploading database to my host as its has all my asp.net configurations in the database? Is there anything I need to specifically?
View 1 Replies
Jun 28, 2010
I have made a very simple Asp.net web site with a WCF service - "Person.svc" - that runs fine when hosted on Asp.Net development server(visual web developer 2010), but if I host on Mono's XSP 2 and access some parse error is thrown. Can WCF services live inside a XSP Web site?
View 2 Replies
Mar 15, 2011
I have one question that is i have to run one program in host server at a particular interval (lets say in each & every 1 hour).
But the thing is that in host server we can't run scheduler , so i want to know is there any approach by which we can achieve this task.
View 6 Replies
Jun 25, 2010
I am generating links for emails within a class in the model of my MVC site and need to obtain the URL address of the host server the site is running on.
How would I get this?
View 7 Replies
May 14, 2013
I have created a asp.net website.At present its wokng in local host.How to host my site in IIS.What are the steps to be followed
View 1 Replies