Showing posts from March, 2014

how to change witribe wlan password? how to secure your witribe router

Proprietary & Confidential
 How to Secure Your
 wi-tribe Wi‐Fi Modem 2
Proprietary & Confidential
After setting up the wi‐tribe Wi‐Fi modem:

 - Connect one end of the LAN cable to your
 computer’s LAN / Ethernet port

 - Connect the other end of the LAN cable to the back of the
 Wi‐Fi modem

 - Open your internet browser window and type in the address bar and press ‘enter’

Proprietary & Confidential
• On the log-in screen that pops up, enter username as ‘guest’
• In the password field, type “witribe” in lower case alphabets
• Click ‘login’ to continue
Proprietary & Confidential
Click on ‘System Status’ on the bottom of the screen
and select ‘WLAN’ from the menu 5
Proprietary & Confidential
• In the ‘WLAN SSID’ field, enter a preferred name for
your network 6
Proprietary & Confidential
• In the ‘Encryption Type’ menu, select ‘WPA
Personal’ 7
Proprietary & Confidential
• In the ‘WPA Mode’ menu, select ‘Auto(WPA or
WPA2)’ 8
Proprietary &am…

Solved: session max execution timeout HttpRuntimeSection.MaxRequestLength without session timeout

<sessionState mode="InProc" timeout="540" />
    <httpRuntime maxRequestLength="2147483647" shutdownTimeout="360" executionTimeout="3600"/>

Also debug should be false in <compilation debug="false" targetFramework="4.0">

The MaxRequestLength property specifies the limit for the buffering threshold of the input stream. For example, this limit can be used to prevent denial of service attacks that are caused by users who post large files to the server. The value assigned to this property should be greater or equal to value assigned to the RequestLengthDiskThreshold property.

Solved: how to MapPath to a parent directory through server.mappath in c#

try with this code              Path.Combine(Directory.GetParent(Server.MapPath("")).FullName, "screenshots")              With Server.MapPath you get your root folder, then with Directory.GetParent you get the root folder parent and finally you combine that with the "screenshot" folder using Path.Combine.               I hope it helps. Regards,

How can i call an external Url from my Page in Asp.Net, How to call a URL in a web form in c#

using System.Net; using System.IO;  WebRequest req = WebRequest.Create(""+Value);
//Get the data as an HttpWebResponse object WebResponse resp = req.GetResponse(); //Convert the data into a string (assumes that you are requesting text) StreamReader sr = newStreamReader(resp.GetResponseStream());sr.ReadToEnd();
Also set timeout of your req object as required by your application.
Regards Asif Munir

How To: Reset Identity column in SQL Server . how to reset primary key indentity column in sql server

This is one of those simple tip posts that may seem obvious and taken for granted by those of us who have been working with SQL Server for a while now but maybe a newbie or two out there will find this helpful. Every so often (just this morning!) I find myself resetting an identity column value back to 0 after I've deleted all the existing records so the table gets a fresh start at primary key 1. Yes, I know all about primary keys not changing and how the value in the primary key doesn't matter and so on. Sometimes I just like the primary keys starting at 1. The following line resets the Identity value for the Customer table to 0 so that the next record added starts at 1.

DBCC CHECKIDENT('tblcategory', RESEED, 0)