RSS Feed
Knowledgebase : ASP .NET / ASP
For Microsoft Access Data Projects ( adp files ) or other ADO connections from clients (remote and local): ADO Connection string sCONN = "Provider=SQLOLEDB.1;Data Source=machine.arvixe.comSQLEXPRESS,1433;Initial Catalog=database_name;User ID=user_nam...
Related documents: How can I enable the ASP .NET v3.5 on my website in the DotNetPanel? Ajax functionality is integrated in ASP.NET 3.5 SP1 and does not require any additional downloads. To use Ajax, login to DNP (your control panel aka. DotNetPanel) -&...
While there are third-party components available to send e-mails from your ASP Web site, the Microsoft® Windows® operating system already includes everything you need to send e-mails from your ASP Web site. The following sample demonstrates how to util...
This article at Microsoft provides detailed analysis of different modes that can be used to store states: http://msdn.microsoft.com/en-us/library/ms972429.aspx [1] In short, you can use "in-proc" for the simplest method which will store the sessions i...
Related documents: CDONTS to CDOSYS (on webdeveloper dot com)CDOSYS Sample ScriptSend a mail from .NET CDONTS is both old and deprecated. Convert CDONTS to CDOSYS. .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 .Item(&q...
Related Documents: * CDOSYS Parameters that work for sending mail [1] If you are having issues getting CDOSYS to work properly, please use the following sample script which is confirmed to work on our servers - Replace [email protected] and password wi...
A customer of ours resolved this issue and the findings are posted on our forum: Connecting to MySQL within a Visual Studio 2008 ASP.Net Web Application project which uses a MySQL database and the ADO.Net Entity Data Model
A customer received the following error when attempting to create a RSACryptoServiceProvider from the privatekey already in the code: CryptographicException: The system cannot find the file specified. System.Security.Cryptography.Utils.CreateProvHandl...
Yes. Please use the following connection string and fill in the necessary spots with your database's information: In some instances, the "Data Source" will need to have the Instance Name after it(sqlexpress), such as this: DBNAME is what you specif...
Related documents: * How to use Internet Information Services (IIS) 7 Manager to connect remotely to your website [1] Yes, full URL Rewrite is offered on our ASP .NET plans within the IIS 7 web server. If you wish to utilize a .htaccess file, you ca...
Related documents: http://silverlight.net/getstarted/ As of writing of this article, only Silverlight 1, 2, and 3 are out now. But since its client-side, we do support it. Visual Studio 2008 just needs to be on the server, which it is by default on all Wi...
If right after a new install of DotNetNuke, the "Register" and "Login" buttons do not work, use the following fix: Login to your control panel, Click on Websites, Click on the website in question to enter its Website Properties, Click on th...
This issue is often caused by issues related to permissions or wrong ASP.NET version set.Two things to try: 1) THE MOST LIKELY ISSUE IS THAT YOU HAVE NOT SET ASP.NET TO 2.0 IN YOUR CONTROL PANEL FOR THE SPECIFIC SITE. THIS CAN BE DONE FROM THE WEBSI...
Getting MSChart controls working with your Arvixe Windows hosting account. 1) ENSURE YOUR WEBSITE'S APPLICATION POOL IS SET TO 4.0 (INTERGRATED) 2) GET ALL THE CORRECT CODE INTO WEB.CONFIG .... {OTHER Web.config code here} .... {OTHER Web.conf...
Related documents: Ajax functionality is integrated in ASP .NET v3.5 SP1 Choose "2.0 Integrated Pipeline" in DNP (Your control panel) -> Websites -> choose your site -> Extensions tab
Our ASP plans have the following installed: http://learn.iis.net/page.aspx/460/using-url-rewrite-module/ The URL includes instructions on how to use web.config to redirect URLS to different ones.
Please use the following connection string on our Windows 2008 servers to connect to the local MSSQL service: "Provider=SQLOLEDB;Data Source=myServerAddress;UID=myUsername; PWD=myPassword; database=myDataBase;"   Another method is to use a driver l...
Please use the following connection string on our Windows 2008 servers to connect to the local MySQL service:      "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=127.0.0.1;DATABASE=DBNAME;UID=USERNAME;PWD=PASSWORD;OPTION=3;" Where: DBNAME and USERNA...
On ASP.NET [http://asp.net/] platform it is quite common to use 3rd party assemblies like MVC, MS chart controls to add features accessible from your code which are not present in the .NET framework by default. In your development machine, you do this b...
Please use the following sample code to connect to a MS Access .mdb file: <% Dim ConnectionString ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};" &_ "DBQ=E:pathtofile.mdb;DefaultDir=;UID=;PWD=;" Dim Connection Set Connection = Serve...
Find attached a PDF directions file made by a helpful customer to aid others in publishing to our ASP.NET applications.
Arvixe's servers all have WCF service installed by default. If visiting an SVC file gives a 404 error, it is most likely because the handler mappings for svc have been removed from your site somehow. To fix this, simply add the svc handlers to your web...
To resolve the 404 error issues on secondary pages of a ASP .NET MVC applications, you will need to follow these steps: 1) Login to your control panel2) After clicking on your plan, click on Web Sites on the left side3) Click on the website in question4)...
When running your application you may see: That assembly does not allow partially trusted callers. or a line that starts with: System.Security.SecurityException Your application requires Full Trust. While most web hosts do not support this, at Arvixe...
The error HTTP Error 503. The service is unavailable. generally means that your application pool has crashed. Please contact support and have your application pool restarted.
If you are receiving the following error or similar: Provider error '80004005' It usually indicates an open connection to the access database/file. To resolve it, you will need to restart your application pool. If not familiar with how to d...
Related documents: CDOSYS Parameters that work for sending mailAs an Arvixe customer and a our forum user, janwillemb was kind enough to provide everyone with this piece of code to send mail, using SMTP Authentication (the only way to send emails out fr...
The following scripts use SMTP Authentication to send mail from your script - C#: <% @Page Language="C#" %> <% @Import Namespace="System.Web.Mail" %> <% MailMessage mail = new MailMessage();     mail.To = "[email protected]
When an error containing the following phrase is received: "This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." Then it is most likely because you have set your ASP.NET version lower than that used b...
This article is for the following error: "Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used i...
All Windows servers at Arvixe run IIS 7. Therefore, when attempting to debug ASP scripts, you may receive the error - An error occurred on the server when processing the URL. Please contact the system administrator. With a link that goes to htt...
A customer of ours needed to connect to MySQL using ADO from within his .NET apps. He posted a fix to this issue available on our forum at: Connecting to MySQL using ADO
Inside your web.config, please make sure your connection string looks similar to this:     <add name="SiteSqlServer" connectionString="Data Source={local}; Initial Catalog=DB_NAME; User ID=DB_USERNAME; Password=DB_PASSWORD;" prov...
ASP .NET apps run under application pools. Many applications require full trust and they need to be in their own application pool to be given full trust. On top of the fact that full trust is given out in a dedicated application pool, memory consumption...
Related documents:  [1] Microsoft Data Access Components (MDAC) Installation Currently, MDAC 2.8
By default, Visual Studio 2010, sets ACLs upon deployment which can cause issues for your application/website. To set VS 2010 to not set ACLs, please follow the instructions below - http://blogs.iis.net/msdeploy/archive/2010/10/04/skipping-setting-a...
When running Classic ASP, you get this error: An error occurred on the server when processing the URL. Please contact the system administrator. This may be resolved by changing the Extension the website runs under to ASP .NET 1.1 in DotNetPanel. If thi...
The error  The "SendUsing" configuration value is invalid is received because you need to specify which server to send the mail from. Please try: 'Name or IP of remote SMTP servermyMail.Configuration.Fields.Item _("http://schemas.micros...
All application pools run in 32-bit mode for the highest level of compatibility on our Windows 2008 64-bit servers. While most ASP components are only available in 32-bit mode, the Microsoft.XMLHTTP is available on these servers only in 64-bit mode. One ...