|
Working at a client once where I needed to use Regulator (but they had a policy to not install apps unless they were approved, typically 3-6 months) I forwarded a port on my router to the RDP port on my workstation at home.
If they haven't restricted access to RDP you should be able to get away with simple port forwarding on your router.
Cheers,
-James
|
|
|
|
|
What is Regulator? I have full admin rights so can install software if I like. I also have RDP as I need to connect to internal servers.
I'm not sure if I can use RDP to connect out to my home computer, if they can disable this via a policy or because all traffic goes through the bank proxy?
If I setup RDP via my home computer and router can you provide a link/tutorial on how to do this? I've never done it before, thanks.
|
|
|
|
|
Sorry...Regulator is a regex development tool...which I wasn't allowed to install and therefore needed access to my PC.
Here are some RDP links:
XP[^]
Vista/7[^]
To configure your router, you'll need to bing your router and find out how to do it. Usually it's under something called 'port forwarding' or 'applications' and many routers have templates/presets for RDP.
Hope this helps.
Cheers,
-James
|
|
|
|
|
Hello everyone.
I did a Windows authentification for my Intranet.The problem is that browsers allow you to save the login and password of the user which is a fault security;.In fact, for Authentification "Forms" ; there is a solution able to use "autocomplete =" off" ;but I could not solve this problem for authentification Windows. neeeeeeeeed help!
Thank you in advance.
|
|
|
|
|
|
Hi
Does IIS Need to develop and test ASP.NET Project in VS2005 IDE Environment. i have got an application which was developed in VS Team Suite and when i open that solution file its asking to convert. why does it happen ? and when i try to build application its showing MachineTOApplicat.. and instructing to create a Folder in Virtual directory of IIS.
|
|
|
|
|
VS2005 supports two different web application development platforms.
Any web application project can be hosted in IIS or just stored in the file system and dynamically hosted for debugging and local execution purposes by the built in web host (a variant of the Cassini web server that ships as part of VS2005). Which mode is stored in the project file, and I don't think it can be changed afterwards.
It sounds like you have a project set up for hosting in IIS so you must set it up accordingly. IIS is easily installed, it is an optional part of windows so no big deal.
As to it asking to convert, I guess the solution was created in VS 2003 (Team Suite). Different solution format so it must be upgraded. This would of course stuff any other developers happily working in VS2003.
|
|
|
|
|
Hello everybody,
I create two environments(virtual directories) of my web application, one for my work and second for testing(both have different code/soluton files means different path).
However when the execution came to dubugger on my working application code while running the applcation, testing applcation hangs of tester. I place a deugger on different page and tester is working on different page still hang the applcation of tester.
I made a changes to client.exe.config, webapp.sln, and webapp.csprj files and change the path.
Please suggest....( we r trying a lot but not working)
Thanks in advance
|
|
|
|
|
Are both websites running in the same application pool?
If so, your debugger has attached to the worker process and is blocking it.
You can find all worker processes by opening a cmd window and running iisapp.
In VS20xx you must only attach to your worker.
Cheers
I don't like my signature at all
|
|
|
|
|
Actually i didnot find iisapp command. Please give me the procedure. I have VS 2008 Frame work and Windows XP OS.
Thanks in advance....
|
|
|
|
|
iisapp is a vbs script.
you must run it from the command prompt in a cmd window (run -> cmd).
In iis manager make sure there are application pools for both your debug and the test site. Create a new one if you only have one.
Assign your debugsite to a different application pool than the testsite.
When you start debugging in VS make sure you only attach to the worker for your debug application pool.
You can check the pid by running iisapp.
This is the output from one of my servers :
C:\Documents and Settings\ontSyBo>iisapp
W3WP.exe PID: 4520 AppPoolId: SharePoint Central Administration v3
W3WP.exe PID: 5624 AppPoolId: SharePoint - 9091
W3WP.exe PID: 5980 AppPoolId: SharePoint - 80
In VS you now debug -> attach to process ... select only the w3wp service that is in your debug application pool.
Cheers
I don't like my signature at all
|
|
|
|
|
Hi,
I am using Visual Studio 2010. I want to edit my application while debugging. I did a bit of google and
tried my hands at various options and settings but no luck
Kindly suggest me. I enabled "Edit and Continue" but its not working.
|
|
|
|
|
I don't think this works on ASP.NET
|
|
|
|
|
In Websites, you can Edit while debugger. But if it is a Web Application, you can't.
|
|
|
|
|
|
i m working on ajax editor control
here i have override the class of ajax editor control
for hiding some button .
and i have add this line to source file for registering custom ajaxeditor
<%@ Register Namespace="myControls" TagPrefix="custom" %>
but it dispaly following error in design time
error creating control-update_DataScrap
unknown server tag 'custom:customEditor'
here update_DataScrap is UpdatePanel
custom is tag prefiz for customizes ajaxeditor control
customEditor is class which is inherited from Editor class
so plz help me
thanks
|
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<log4net>
<appender name="debugFile" type = "log4net.Appender.RollingFileAppender">
<file value="AshwinTop10Refresh.log"/>
<appendToFile value="true" />
<datePattern value =".yyyyMMdd"/>
<rollingStyle value="Date"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{yyyyMMdd HH:mm:ss} - %m %n" />
</layout>
</appender>
<root>
<level value="ALL"/>
<appender-ref ref="debugFile" />
</root>
</log4net>
<appSettings>
<add key="DBPassword" value="UzWn5bFMdfEnB7cYpjmV/Q=="/>
<add key="ContentMonitorDBPassword" value="0EeMxiu8vPeqbpB+0hR8Rg=="/>
</appSettings>
<connectionStrings>
<!-- SQL connection string -->
<add name="ConnString" connectionString="server=QWASR03;database=Ashwin20;App=Ashwin20;User=Ashwin_admin;password=" providerName="System.Data.SqlClient"/>
<!-- Content Monitor connection string -->
<add name="ContentMonitorConnString" connectionString="Data Source=QWASR03;Integrated Security=no;User Id=weeruser;Password=" providerName="System.Data.OracleClient"/>
</connectionStrings>
</configuration>
Not saving in log. Please help.
|
|
|
|
|
what do u want to save in log file.
|
|
|
|
|
<log4net>
<appender name="RollingLogFileAppenderDBConn" type="log4net.Appender.RollingFileAppender">
<file value="D:\\LogsIGT11\\AppDBlog.txt"/>
<appendToFile value="true"/>
<maxSizeRollBackups value="4"/>
<maximumFileSize value="50MB"/>
<rollingStyle value="Size"/>
<staticLogFileName value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline"/>
</layout>
</appender>
<appender name="RollingLogFileAppenderLicChk" type="log4net.Appender.FileAppender">
<file value="D:\\LogsIGT11\\AppLic.txt"/>
<!--log-data\rolling-log.txt-->
<appendToFile value="true"/>
<maxSizeRollBackups value="4"/>
<maximumFileSize value="50MB"/>
<rollingStyle value="Size"/>
<staticLogFileName value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline"/>
</layout>
</appender>
<logger name="ErrorLog">
<level value="DEBUG"/>
<maximumFileSize value="50MB"/>
<param name="Threshold" value="OFF"/>
<appender-ref ref="RollingLogFileAppenderError"/>
</logger>
<logger name="LicChkLog">
<level value="INFO"/>
<maximumFileSize value="50MB"/>
<param name="Threshold" value="OFF"/>
<appender-ref ref="RollingLogFileAppenderLicChk"/>
</logger>
</log4net>
code for accessing
public void logMessage(System.Exception th)
{
log4net.ILog logger = log4net.LogManager.GetLogger("ErrorLog");
logger.Error(System.DateTime.Now.ToString("dd-MM-yyyyHH:mm:ss"));
logger.Error(th.StackTrace);
logger.Error(th.Message);
log.Error(System.DateTime.Now.ToString("ddMMyyHHmmss"));
log.Error(th.StackTrace);
log.Error(th.Message);
}
private void WriteLogInfo(string status)
{
log4net.ILog logger = log4net.LogManager.GetLogger("LicChkLog");
logger.Error("********************START****************************");
logger.Error(System.DateTime.Now.ToString("dd-MM-yyyy HH:mm:ss"));
logger.Error(status);
logger.Error("********************END******************************");
}
For more help : pranayamr.blogspot.com
|
|
|
|
|
Hi all,
How to check if an email address exists without sending an email without using a third party control.
Thanks and Regards,
sriharsha
|
|
|
|
|
You can't. Note that sending an email offers no guarantee either. I use a black hole setup on all my mail servers, and I never reject a mail. I just throw them away.
|
|
|
|
|
Not possible really, the best you can do is use regular expression to validate that the format of the address provided is valid.
|
|
|
|
|
regular expression will only validate the email address format,which we are using,
but we want to validate the email address exixtence or atleast domain existence.
i.e to chekh if the user has mentioned a valid email id or not, and then send a email based on that.
thanks and Regards,
sriharsha
|
|
|
|
|
ansriharsha wrote: regular expression will only validate the email address format,which we are using,
Right, which is what I said.
I don't think you're going to be able to do this without sending a test email int eh first place which defeats the purpose of the exercise. Your other option is to strip the domain out, do a webrequest to it on the assumption that they have a website set up on it. If so, better chance that the email address is valid, if not, it's a dud.
|
|
|
|
|
Well that lets bogus hotmail addresses though for starters. And I work at an office where we have a .co.uk email address but a .com web site (historical nightmare, don't ask).
|
|
|
|