Tuesday, 5 December 2017

Windows Hosting - Uploading Content

In Visual Studio select the option Build >> Publish Website from the menu. I will open a popup which will ask you few things including target folder. Pressing the button will copy only those files in the target folder that will be required to upload on the webserver. For Sql Server 2000 use your Enterprise Manager. Right Click on the Database and select All Tasks then select Export Data. It will open a wizard in which you have to give the credentials and the database name of the local computer when you click next you will then have to give the credential and the database name of the webserver. When you click next you will see 3 options select "Copy objects and data between Sql Server databases" and click next. It will then ask you some more things like what you want to copy. Then click run immidiately. It will start transfering the complete database.

When an exception occurs, the system searches for the nearest catch clause that can handle the exception, as determined by the run-time type of the exception. First, the current method is searched for a lexically enclosing try statement, and the associated catch clauses of the try statement are considered in order. If that fails, the method that called the current method is searched for a lexically enclosing try statement that encloses the point of the call to the current method. This search continues until a catch clause is found that can handle the current exception, by naming an exception class that is of the same class, or a base class, of the run-time type of the exception being thrown. A catch clause that doesn't name an exception class can handle any exception.

Once a matching catch clause is found, the system prepares to transfer control to the first statement of the catch clause. Before execution of the catch clause begins, the system first executes, in order, any finally clauses that were associated with try statements more nested that than the one that caught the exception.
Exceptions that occur during destructor execution are worth special mention. If an exception occurs during destructor execution, and that exception is not caught, then the execution of that destructor is terminated and the destructor of the base class (if any) is called. If there is no base class (as in the case of the object type) or if there is no base class destructor, then the exception is discarded.

For the most part, things that you do to secure a Web site can be used to secure a Web Service. If you need to encrypt the data exchange, you use Secure Sockets Layer (SSL) or a Virtual Private Network to keep the bits secure. For authentication, use HTTP Basic or Digest authentication with Microsoft® Windows® integration to figure out who the caller is.
these items cannot:
  • Parse a SOAP request for valid values
  • Authenticate access at the Web Method level (they can authenticate at the Web Service level)
  • Stop reading a request as soon as it is recognized as invalid
When a page is requested by an Internet Explorer 5 browser, or later, smart navigation enhances the user's experience of the page by performing the following:
  • Eliminating the flash caused by navigation.
  • Persisting the scroll position when moving from page to page.
  • Persisting element focus between navigations.
  • Retaining only the last page state in the browser's history
The process of communication between different operating system processes, regardless of whether they are on the same computer. The .NET remoting system is an architecture designed to simplify communication between objects living in different application domains, whether on the same computer or not, and between different contexts, whether in the same application domain or not.

By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. If cookies are not available, a session can be tracked by adding a session identifier to the URL. This can be enabled by setting the following:
<sessionState cookieless="true" />
public static void SuppressFinalize(
object obj

The method removes obj from the set of objects that require finalization. The obj parameter is required to be the caller of this method.
Objects that implement the IDisposable interface can call this method from the IDisposable.Dispose method to prevent the garbage collector from calling Object.Finalize on an object that does not require it 

the 'RequiredPermission' attribute is not declared

the 'RequiredPermission' attribute is not declared

Message 30 Could not find schema information for the element 'add'.

Message 10 Could not find schema information for the element 'modules'.

Message 30 Could not find schema information for the element 'add'.

Message 6 Could not find schema information for the element 'scripting'.

etc etc, any ideas?

First, Try to reinstall the AjAX EXTENSTION on your machine again.

Second: If it not works too, you can try this following steps to solve this problem:

The warnings are caused by a line in web.config:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

Remove the xmlns part so it is: