Go to Control Panel > Windows Firewall (or type firewall.cpl in the Run prompt). Under the Exceptions tab you can add the program or port number to which you would want to allow access.
If you want to add multiple ports there is no option for you to open multiple ports (port range) with a simple addition of a filter.
To do this we need to type the following in the command prompt (Run > cmd):
FOR /L %I IN (9000,1,9100) DO netsh firewall add portopening TCP %I "Site Ports" %I
The ports will be incremented by 1 from 9000 until 9100.
In windows 2008 it is much easier than this. You can easily add a port range in the Firewall filter rules
Thursday, March 8, 2012
Tuesday, October 27, 2009
System.InvalidOperationException: Unable to generate a temporary class (result=1).
Solution:
Run the command aspnet_regiis -i
Run the command aspnet_regiis -i
Error: Redirect from .net to classic asp page - This type of page is not served.
Navigate to .net framework installation directory and issue
aspnet_regiis -ga "NT Authority\Network Service"
aspnet_regiis -ga "NT Authority\Network Service"
Thursday, October 22, 2009
allowDefinition='MachineToApplication'
Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Inetpub\wwwroot\ncorp\index\Web.config 25
Check where the web.config is created. It might have been placed in one of the sub folders instead of the root folder.
Placing the right web.config in the right location should solve this problem.
Check where the web.config is created. It might have been placed in one of the sub folders instead of the root folder.
Placing the right web.config in the right location should solve this problem.
Thursday, October 15, 2009
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Solutions:
One of the possible causes for the error is the driver that is used in the connection string.
Some uses SQL Native Client and some uses SQL Server as their drivers.
Another possible cause may be the DSN is not set up correctly. Ensure that you test your DSN setting.
Solutions:
One of the possible causes for the error is the driver that is used in the connection string.
Some uses SQL Native Client and some uses SQL Server as their drivers.
Another possible cause may be the DSN is not set up correctly. Ensure that you test your DSN setting.
Why is my IIS log file have different time in it while my system time is set correctly?
Check what kind of log is setup for IIS
For W3C Extended log file, the date and time is set to be in GMT by design and this should explain the time difference in the log files.
For further information visit microsoft site
For W3C Extended log file, the date and time is set to be in GMT by design and this should explain the time difference in the log files.
For further information visit microsoft site
Wednesday, October 14, 2009
How to check shared folders and files in a windows network environment?
Start > run > mmc
File > New (Console root dialog appears)
File > Add/Remove snap-in > Add > then choose the snap-in "shared folder" from the list of snap-ins and click "Add" button
Next in the Shared Folders dialog, choose the computer in which you want to find who has shared folders and files and click the "Finish" button. Then click "Close" button followed by "Ok" button.
Expand Console Root > "Shared Folders" and you can check the list of shared folders (shares, sessions and open files)
File > New (Console root dialog appears)
File > Add/Remove snap-in > Add > then choose the snap-in "shared folder" from the list of snap-ins and click "Add" button
Next in the Shared Folders dialog, choose the computer in which you want to find who has shared folders and files and click the "Finish" button. Then click "Close" button followed by "Ok" button.
Expand Console Root > "Shared Folders" and you can check the list of shared folders (shares, sessions and open files)
Subscribe to:
Posts (Atom)