Framework 2.0 etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
Framework 2.0 etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

Operation is not valid due to the current state of the object.

ASP.NET üzerinde AjaxcontrolToolkit kullandıysanız, kullandığınız ekranda postback yapılırken "Operation is not valid due to the current state of the object.hatasını alabilirsiniz. Bunu önlemenin yolu .NET frameworkteki MaxHttpCollection ayarını değiştirmekten geçiyor. Web config dosyasına aşağıdaki satırları ilave ettiğinizde sorun düzelecektir.

Web Config üzerinde eklemeniz gereken satır:

< appSettings>
     key="aspnet:MaxHttpCollectionKeys" value="2001"/ >
 < /appSettings>

Hata Ekranı:

ERRMSG: 2.0 .NET Framework Error: The format of the file 'dotnetCHARTING' is invalid.

With the official release of ASP.NET 2.0 along with the 2.0 .NET Framework and Visual Studio 2005 .netCHARTING has been updated to natively support such environments.
If you get the following error:

Server Error in '/dotnetcharting' Application.--------------------------------------------------------------------------------
Parser ErrorDescription: An error occurred during the parsing of a resourcerequired to service this request. Please review the following specificparse error details and modify your source file appropriately.
Parser Error Message: The format of the file 'dotnetCHARTING' is invalid.
Source Error:
Line 1: <%@ Page Language="C#" debug="true"Description="dotnetCHARTING Component"%>Line 2: <%@ Register TagPrefix="dotnet" Namespace="dotnetCHARTING"Assembly="dotnetCHARTING"%>
Source File: c:\inetpub\wwwroot\dotnetcharting\csharp\features\SonBox.aspxLine: 2
--------------------------------------------------------------------------------Version Information: Microsoft .NET Framework Version:1.1.4322.2032;ASP.NET Version:1.1.4322.2032

You can see above the error references ASP.NET Version:1.1.4322.2032. This indicates the application you have configured in IIS for .netCHARTING is setup to use the previous framework version.

1) Open the Internet Information Services (IIS) Manager.
2) Right click properies on the web site or directory in use.
3) .NET 2.0 adds a new tab to the properties called "ASP.NET" with a version drop down.
4) Select 2.0 and hit apply.

How can i install/remove a .net windows service using InstallUtil?

With Community Server 2007.1, it is now possible to install multiple instances of a Windows
Service without the need for custom MSI builds. This is done by manually
installing the Windows Service with the command line utility and specifying the
name of the service to be used.

Previously, the limitations on multiple installs were due to the product name installed with
the MSI, the hard coded service name in the service installer, and also some
registry keys that were needed by the installer. Doing multiple
installations required these to be manually changed in code and re-compiled in
a custom build.

With the new version, the hard coded limitations have been removed, allowing for one
instance of the add-ons to be installed with the MSI, and then additional
instances of the program to be activated through the command line.

How to Install

In order to install additional instances of the service, you will need to use the
InstallUtil.exe program that is included with the .NET Framework SDK (available
). The InstallUtil.exe program is located in the .NET Framework's
installation directory, which will typically be in the
following directory:


First, you will need to create the first instance by installing using the MSI package. This extracts all of the files and allows you to quickly install your first instance. To create a second instance, you will need to make a copy of the installation directory, since the second instance will need its own set of files, configuration, and will run separately from the first instance.
The add-ons are normally installed to a folder in C:\Program Files\Telligent by default.

Once you have created a copy of the add-on's installation files, you need to register it with
Windows as a service. To activate it, you will install the service using InstallUtil.exe and add a /name parameter to specify what the service will be named. The names have to be unique, so if you already have " PostGreSQL Backup Service ", you might need to name it "PostGreSQL Backup Service". You then specify the filename of the Windows Service, which is usually like “
postgrebackup.exe ". So for example, it would be:

installutil c:\postgrebackup\postgrebackup.exe /LogToConsole=true /LogFile=c:\backuplog.log

You would need to run this from a command prompt within the add-ons directory. The name
must be in quotes if it contains spaces, and it must come before the filename. After installation, if you bring up the Windows Services console (Start, Run, services.msc), you should find the new service installed and listed alphabetically.

You may need to add the path to the InstallUtil.exe program onto the command if the .NET
Framework folder isn't in your PATH setting.

How to Uninstall

Uninstalling the service is very similiar to installing. You will still use the InstallUtil.exe program and will need to specify the name of the service to uninstall, though this time you will need to add a /u switch to specify that you intend to uninstall it. For instance:

InstallUtil /u /name=" PostGreSQL Backup Service" postgrebackup.exe

The name must be specified since if you have multiple instances of the same executable
installed, it will need to know which one. If no name is specified, it will remove the one with the default name as opposed to a custom named one.

Again, the uninstall and name parameters must come before the filename so that it know they are for that file.

You may need to add the path to the InstallUtil.exe program onto the command if the .NET
Framework folder isn't in your PATH setting.

Bilgisayarın çıkış yaptığı internet dış IP'yi bulmak ( işlevini görür)

Kullanılan sistemlerde çıkış yaptığınız IP'yi kontrol etmek için aşağıdaki prosedür kullanılabilir. Bu  a...