Quantcast
Channel: Classic ASP
Viewing all 488 articles
Browse latest View live

500 error '80020009' with Request.Form

$
0
0

Hopefully an issue that somebody out there has encountered and fixed but I've thus far failed miserably to resolve myself.

Scenario is as follows;

I have a classic ASP website that is currently using Integrated application pool and Anonymous authentication.  It is hosted on an IIS 7.5 intranet site that doesn't have any access to the Active Directory. 

When using an Integrated application pool I have access to Request.ServerVariables that are populated with user identity details that my site can leverage to tailor the output accordingly.  However any attempts to access Request.Form result in the 500 error stated in the title.

If I switch to a Classic application pool I cannot access these Request.ServerVariables but Request.Form once again works.

Does anybody know how to get Request.Form working when using an Integrated application pool?

As an example the following simple page fails at the 3rd line via Integrated and has blank ntuser via Classic.

<%
ntuser = Request.ServerVariables("HEADER_PF_AUTH_NTUSERDOMAINID")
post_value = Request.Form("post_value")
%><html><head></head><body><form method="POST" action="default.asp"><p>NT User: <%=ntuser%></p><p>Post value: <input type="text" name="post_value" value="<%=post_value%>" /></p><input type="submit"></form></body></html>

validation part is not working

$
0
0

I have created one classic ASP page.It Contains two table inside the common table. I have some controls on both two tables. Validation part is not working while submit the page. If i removed one table part of coding validation part is working fine.

Can somebody help me? I was struggling from past two weeks.

My coding structure is as follow as 

<table>

<tr>

<td>

<table>

some controls--------

</table>

</td>

<table></table>

<td>

</td>

</tr>

</table>

Invalid use of Null: 'Csng'

$
0
0

Hi

I'm trying to migrate a classic asp application from one virtual server running windows 2008 and mysql database, IIs7 to another.

Now, the new server which is running pretty much the same OS version, iis, mysql connector and database, however for some bizaar reason the new server appears to throw this error during output of a calculation... This error doesn't occur on the original server, and both servers are running identical code.

here is the error

Microsoft VBScript runtimeerror '800a005e'

Invalid use of Null: 'Csng'

/includes/dh_quote_grid.inc, line 392

line 392 of the code from dh_quote_grid.inc is in bold...

varPer_calc = 0

quoteArray(vararray_row,11) = "Y"
varPer_calc = CSng(quoteArray(vararray_row,6)) '' Percentage
var_cus_order = CSng(quoteArray(vararray_row,1)) '' order
varcalc = varcalc + (varcalc*(varPer_calc/100))

varROE_calc = 0
If varROE > 0 Then
varROE_calc = varcalc/varROE
End If
If varROE_calc = 0 Then ''' should not be needed
varROE_calc = varcalc
End If

I'm not a programmer, so do know how to troubleshoot this. After researching several hours I believe it is related to the way the system is rendering varPer_calc variable in terms of the decimal places. ...but i just can't figure it out.. I believe the value of this variable is -10.  not sure if the negative value is not compatible with Csng..

Anyway, please could someone kindly share a possible for fix for this error...as i have spend several hours trying to figure it out.

The most annoying thing is that this exact code works just fine on the original server that I do not have access to anymore.

Server variables not passed on to custom 404 handler?

$
0
0

Hi,

I have a large, old classic asp site with many problems. While attempting to sort out 404 responses I wrote a simple custom handler to send me an email for each 404 incident.

However it appears that IIS 7 is not passing on various server variables to my handler.   I get very few of the server variables, and http_referer is always missing - which is the most critical value to assist in tracing, especially from external websites.

I saw a reference to a hotfix, but it seems to have disappeared - could not locate anything but references about it.

I also found a comment that the server variables may not (yet) be available at the time that the handler gets control (?).

Any comments will be appreciated!

pdf downloaded from Website is corrupted + Empty doc when opened

$
0
0

Hi,

our Classic ASP website hosted on IIS 7 on windows 2008 32 bit server.

Website allows used to download pdf files from it.

When I try to download and open the pdf file i see the message "There was an error opening this document. This file is damaged and could not be repaired."

If I copy the pdf manually from the website folder to my local machine I am able to open the same pdf. But when I download the same pdf from website i am not able to open. The pdf file size and number of pages are correct. But When I open the pdf if empty.

I am not sure what is causing this issue, Kindly check how to trouble shoot the pdf download and the error while opening it.


Thanks
Ashok

Classic ASP website - File download from website - Empty response

$
0
0

I am working on a Classic ASP website. It allows users to download pdf files from the ASP website hosted on IIS 7 on Windows 2008 32 bit server.

File download functionality is in a dll which is registered on the webserver using regsvr32.exe command.

Website was working fine and I could download the pdf files from the website for the past few months.

But for the past few days we have been facing issues with file download.(err_emtpy_response). The file download page takes long time and I see a message saying "failed to load response data".

I believe recent changes to the webserver during maintenance is causing some issue with the file download.

Below are the current settings. Symantec End Point client Turned on. UAC is turned off Website folders permission - Gave full permission to IUSR and IIS_IUSR accounts. IIS MIME type is application/pdf.

I am not sure what change is causing this issue since it was working fine before.

Any help/suggestions on troubleshooting File download from ASP website hosted on IIS will be helpful

Thanks Ashok

max-width is not working at runtime

$
0
0

Hi,

i have one table ,inside the table i have two td. while page loading table should appear with one td hence i set max-width="0PX" for another td. after selecting checkbox the second td should be appeared. It's working fine but the td is not fitted into screen. It looks like outside of the table.

can you please somebody help me?

CheckBox issue in ASP

$
0
0

Hi,

I have one table in ASP page,inside the table i have two td. I have one Checkbox also in my page. while page loading one td should come after checkbox is checked another td will appear. This what i needed and working fine. If Error message will come after clicking submit button means that checkbox is unchecked and that second td also disappear.

I want to second td also with error message. Please help me to fix this issue.


Display Webpage Sorted by Favorites, then rest of the Table for a User

$
0
0

I have a table that list products. Users come to the website, mySQL database and classic ASP, and select products as a favorite. How do I display the page with the products selected as Favorite, A-Z first, then the remaining products A-Z again? I can do this in Access, but the web DB is not responding favorably.  It's the same as you see on website like Fandango when you select your favorite theater. Example

Product TableUser FavoritesDesired Result for U = 123
IDProductIDProductUserIDProductFavorite
1Product A1Product A1231Product A*
2Product B4Product T4566Product F*
3Product M6Product F1234Product T*
4Product T2Product B4562Product B
5Product E1Product A7895Product E
6Product F4Product T1233Product M
7Product Q6Product F7897Product Q
8Product R8Product R3218Product R
9Product X5Product E3219Product X

Trying to include domain into HTML variable

$
0
0

Hi

Not really famlar with asp and trying to add the current domain to URL, however this code throws an error

 	varhtml1  = varhtml1  + " <tr><td><img src='http:// "& <%Response.Write(Request.ServerVariables("server_name"))%> &" /Images/email-logo.gif' /> "

Any idea how i can include the domain name into this line that is alrady wrapped in quote marks? 

Microsoft VBScript compilationerror '800a0401'

Expected end of statement

/includes/dh_qte_display.inc, line 36

varhtml1  = varhtml1  + " <tr><td><img src='http://  <%Response.Write(Request.ServerVariables("server_name"))
-----------------------------------------------------------------------------------------------^

value is not getting assigned in anchor tag in parent window

$
0
0

Hi,

 In my parent window, am having anchor tag. For this anchor tag value should be assigned from child window. But value is not assigned. so i am trying with text box. For Text box value is getting from child window and assigned properly. and also from text box value am trying to assign anchor tag. 

my parent window coding like as follows:-

<td class="tablebold" align="center" width="20" colspan="2" style="background-color:Aqua";>
<input type="text" name="ProjectNamefrmChild" id="txt1">
<a href="javascript: EditProject(<%=CompanyID%>,<%=ProjectID%>)" id="LinkProject"><%=ProjectNamefrmChild%></a>
</input>
</td>

My child window coding like as follows:-

function get_popupvalue() {
var parent = window.opener.document.getElementById("txt1")
parent.value = document.getElementById("Project1").value

}

dropdown selected value before submitting page

$
0
0

Hi,

I have to get dropdown selected value before submitting page. The dropdown selected value should be passed as a parameter in  SQL query at the server side. Hence before submitting page I need dropdown selected value. I can get value using java script. But from java script function we could not able to pass server side sql query.

can somebody help me?

ASP Cookie delete

$
0
0

Receive data:
gelenveri=request.form("veriA")
Response.Cookies("demo")(gelenveri)=gelenveri

List data:
ForEach yaziver in Request.Cookies("demo")
Response.write yaziver
Next

Output:
Cigaret
L
ighter
Servitude

Delete item:
Gelenveri=request.form("veriA")
Response.Cookies("demo")(gelenveri)=""

I want to delete lighter butdeletion does not occur!
How to do?

 

 

Need a little help with create folder dynamically

$
0
0

Just learning Classic ASP

I have some classic ASP code that creates a new folder on the server when you click the button.

Works fine, but I want to make it just run as code (process when the page loads) - so no button.

Can someone help?

The created Folder is named via a variable from database (works fine) variable is 'pRef'.

CreateFolder(Server.MapPath("documents/ "&pRef&" "))
Dim objFso
'# CREATE FOLDER
function CreateFolder(fdirCRE)
Set objFso = CreateObject("Scripting.FileSystemObject")
if Not objFso.FolderExists(fdirCRE) Then
objFso.CreateFolder(fdirCRE)
Else
Exit function
End if
Set objFso = nothing
End function

Here is the html button to make it work.

<input type="button" ID="buttonCreateFolder" value="Create Folder" OnClick="CreateFolder()" />

Thanks in advance

MS ACCESS automation problem

$
0
0

Hi, I have a classic asp application in IIS 7.5 on a windows 7 (64bit) that uses theSet objAccess=Server.Create(Access.Application.14) (I have office 2010). It throws an access permissions in this line. I searched the Internet and found that I have to give permissions about DefaultAppPool identity to Microsoft Access COM component (in dcomcnfg) . I did it. It passed this line but in the next line that set the objAccess.Visible=false I have another error '800a0997' that I did not find anything about in Internet. It seems that the class does not instantiated very well because even if I comment this line then the next line that uses this Access object has again the same error. I use the process monitor and I couldn't see something wrong!!!

I am desperate!!!

Thanks


Form handlig with variable elements

$
0
0

Hi, I have an html form that has to update contact data. But... each contact has a number of cars with related information viewed as rows within the same form. Cars information has to be updated too. The number of cars for each personis not known in advance. How can I handle this in the Server with Request.Form("item");

Thanks

Site migrated from IIS6 to IIS8 won't run (404.17 error)

$
0
0

Hi all,

First off I'm no Web Admin so don't assume I know exactly what you're talking about because I probably don't!  I was thrown into the deep end and asked to migrate all of our sites on Windows 2003 servers to Windows Server 2012.  For the most part everything is working as it should except for a few sites.  One of them continues to return a 404.17 error:

HTTP Error 404.17 - Not Found

The requested content appears to be script and will not be served by the static file handler.

<div class="content-container">

Most likely causes:

  • The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.
</div> <div class="content-container">

Things you can try:

  • If you want to serve this content as a static file, add an explicit MIME map.
</div> <div class="content-container">

Detailed Error Information:

<div id="details-left">
Module   StaticFileModule
Notification   ExecuteRequestHandler
Handler   StaticFile
Error Code   0x80070032
</div>
</div>

Microsoft is telling me that the app pool that it's running in should be changed to enable 32 bit applications, use .net 2.0 and ran in classic mode.  Did that, didn't work. 

I found out which handlers are configured for the application which is throwing the 404.17 error:

<system.webServer>
  <handlers accessPolicy="Read, Execute, Source, Script">
    <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
    <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
    <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" />
    <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" />
    <add name="AboMapperCustom-1643617704" path="*.cdx" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="C:\Windows\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />
    <add name="AboMapperCustom-1643617705" path="*.asa" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="C:\Windows\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />
    <add name="AboMapperCustom-1643617706" path="*.idc" verb="GET,POST" modules="IsapiModule" scriptProcessor="C:\Windows\system32\inetsrv\httpodbc.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />
    <add name="SSINC-shtm" path="*.shtm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" requireAccess="Script" />
    <add name="SSINC-shtml" path="*.shtml" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" requireAccess="Script" />
    <add name="SSINC-stm" path="*.stm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" requireAccess="Script" />
    <add name="AboMapperCustom-55697161" path="*.asax" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697162" path="*.ascx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697163" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697164" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697165" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697166" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697167" path="*.vsdisco" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697168" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697169" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697170" path="*.config" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697171" path="*.cs" verb="GET,HEAD,POST,DEBUG"modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697172" path="*.csproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697173" path="*.vb" verb="GET,HEAD,POST,DEBUG"modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697174" path="*.vbproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697175" path="*.webinfo" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697176" path="*.licx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697177" path="*.resx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697178" path="*.resources" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" />
    <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" />
    <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read"/>
  </handlers>
</system.webServer>

This is where the Microsoft article stops being helpful as there's no mention of .net 1.1 anywhere (I'm assuming the output above is telling me that this site was built using .net 1.1 and therefore needs an app pool running .net 1.1 in order to run?), they just keep talking about .net 2.0.  From what I've read .net 1.1 is not included/supported in WIndows Server 2008 and above so I'm a bit lost as to how to fix this.  I've read countless posts about 404.17 errors and so far nothing has worked.  One post seemed promising in being able to have an option to set your application pool to run in .net 1.1 but that never worked for me.

ANY help would be greatly appreciated as I've been struggling with this for about a week now..

Thanks!

Andre

Classic ASP Support on Windows Server 2016?

$
0
0

Hello all,

  Will Windows Server 2016 ship with the ability to install and use classic ASP within IIS?

  I understand that it comes as a separately installable feature within Windows Server 2012 + R2, but am curious if Windows Server 2016 will still provide the ability to use classic ASP within IIS.

  I am working with a client who needs some breathing room to start a massive classic ASP site migration, and getting the extended support via Windows Server 2016 may provide just what they need.

Thanks,

--Dan

Classic ASP application load balance across 4 machines.. dropping sessions

$
0
0

Good day,

We have a classic ASP app, hosted on 4 servers ( windows server 2008r2, IIS 7) 

When the application is hosted on one server all is well. once we load balanced the app. Users lost sessions.

I have been doing some reading, some posts suggest that 

'IIS cannot share Classic ASP session or application state across different physical machines"

Is this true?

has anyone found a workaround for particular issue ?

any information would be greatly appreciated 

Ric0

Issue with url send over mail using classic ASP

$
0
0

I have an classic asp application which is trying to send a mail on a particular event and this is how the code goes:

var vStSMTPServer = "http://127.0.0.1"
var vObCDOMsg = Server.CreateObject("CDO.Message");
var vObCDOConf = Server.CreateObject("CDO.Configuration");
var vObCDOFlds = vObCDOConf.Fields;

// Set the CDOSYS configuration fields to use port 25 on the SMTP server.
//With vObCDOFlds



//--these information are being retrieved from db:

vObCDOMsg.Configuration = vObCDOConf;
vObCDOMsg.To = email;
vObCDOMsg.From = frmAddress;
vObCDOMsg.Subject = subject ;
vObCDOMsg.Bcc = bcc

//--this is the body

var body=
body = <link href='http://www.es.com/longh/pages/eventsStyle.css' rel='stylesheet'><style type='text/css'>td{font-family: Arial,Helvetica,Verdana,Geneva,sans-serif;font-size: 9pt;line-height: 14px;color: #313104;}</style></head><body><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td><br /></td></tr><tr><td align='center'><table width='600' cellspacing='0' cellpadding='0' border='0'><tr><td colspan='3' bgcolor='#CBBE92'></td></tr><tr><td rowspan='2' bgcolor='#CBBE92'></td><td><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td colspan='2' width='100%' height='50'><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td width='100%' height='33'>&nbsp;</td><td rowspan='2' width='153'><img src='http://www.es.com/longh/images/EStit2.gif' width='153' height='50' border='0' alt=''></td></tr><tr><td width='100%' height='20' bgcolor='#000000' colspan='2'>&nbsp;</td></tr></table></td></tr><tr><td width='140' height='100' align='center' valign='middle' bgcolor='#000000'><img src='http://www.es.com/longh/images/logoHostsmall2.gif' width='179'height='127' border='0' alt=''></td><td width='460' bgcolor='#000000'><img src='http://www.es.com/longh/images/GSQ12.jpg' width='460' height='127' border='0' alt=''></td></tr><tr><td width='140' bgcolor='#000000'>&nbsp;</td><td bgcolor='#000000' height='18'><img src='http://www.es.com/longh/images/spacer.gif' width='1' height='18' border='0' alt=''></td></tr></table></td><td rowspan='2' bgcolor='#CBBE92'></td></tr></table></td></tr><tr><td align='center'><table width='776' cellspacing='0' cellpadding='0' border='0'><tr><td><table width='560' align='center' cellpadding='0' cellspacing='0' border='0'><tr><td><br />Dear " + salutation + "<h5>Marriott Events Preorder</h5></td></tr><tr><td style='text-align: justify;'>We are delighted that you will attend the <font color='#000000'>" + eventname + "</font>on <font color='#000000'>" + eventdate + "</font>.<br />&nbsp;<br />We would like to provide you with the opportunity to make beverage and special dietary arrangements prior to the event, and have created an online pre-order facility for your convenience.<br />&nbsp;<br /></td></tr><tr><td>You will need to use the <b>Username:</b> <font color='red'>" + username + "</font> and the <b>Password:</b> <font color='red'>" + password + "</font> to gain access.<br />&nbsp;<br />Please ensure that you complete your pre-order by <font color='#000000'>" + deadline + "</font>.<br />&nbsp;<br /><a href='http://www.es.com/longh/?username=" + username + "' style='text-decoration: underline;'>Please click here to Sign In.</a><br />&nbsp;<br /><i>In case the above link does not work you can copy this url( <b>www.es.com/longh/?username=" + username +"</b>) and paste in your browser</i><br />&nbsp;<br />Feel free to contact Private Hospitality on 111111xxxxxx22 / 8122 if you have any questions.<br />&nbsp;<br />We are looking forward to seeing you,<br />&nbsp;<br />Kind Regards,<br />&nbsp;<br />Events Team<br /><b>Grosvenor House</b><br />&nbsp;<br /></td></tr></table></td></tr></table></td></tr></table></body>";
vObCDOMsg.AutoGenerateTextBody =false;
vObCDOMsg.HTMLBody=body;

After the mail is getting send, when the receiver clicks on the above link the url is getting redesigned and coming something like this:

<a href="http://zixvpm.infosecpartners.co.uk/?a=2541&amp;m=&amp;n=&amp;s=a800000055267a&amp;u=http%3a%2f%2fwww.eventsummary.com%2flongh%2f%3fusername%3dhtest33%26utm_source%3d%26utm_medium%3demail%26utm_campaign%3dunspecified&amp;t=&amp;e=subratkumar.parichha%40gmail.com&amp;h=d6c5af2e" style="text-decoration:underline" target="_blank" data-saferedirecturl="***https://www.google.com/url?hl=en&amp;q=http://zixvpm.infosecpartners.co.uk/?a%3D2541%26m%3D%26n%3D%26s%3Da800000055267a%26u%3Dhttp%253a%252f%252fwww.eventsummary.com%252flongh%252f%253fusername%253dhtest33%2526utm_source%253d%2526utm_medium%253demail%2526utm_campaign%253dunspecified%26t%3D%26e%3Dsubratkumar.parichha%2540gmail.com%26h%3Dd6c5af2e&amp;source=gmail&amp;ust=1463542862806000&amp;usg=AFQjCNFk6t5OtTcmeIkJzpRDeSGlFTddSw"***>Please click here to Sign In.</a>


For 2 out of 10 users this section

<!-- language: lang-none -->

dunspecified%26t%3D%26e%3DMadeleine.Montgomery%2540sonyatv.com%

has some extra characters getting appended to the link and it is not working.
something like this:

<!-- language: lang-none -->

dunspecified%26t%3D%26e%3Mad%0d%0a%20%0d%0a%20eleine.Montgomery%40sonyatv.com%

Here are the urls having issue:
http://zixvpm.infosecpartners.co.uk/?a=2541&m=&n=&s=a400000019ae8f&u=http%3a%2f%2fwww.es.com%2flongh%2f%3fusername%3dontgomery42%26utm_source%3d%26utm_medium%3demail%26utm_campaign%3dunspecified&t=&e=Mad%0d%0a%20%0d%0a%20eleine.Montgomery%40sonyatv.com&h=b886b5d2

http://zixvpm.infosecpartners.co.uk/?a=2541&m=&n=&s=ba00000134a7c3&u=http%3a%2f%2fwww.es.com%2flongh%2f%3fusername%3deters82%26utm_source%3d%26utm_medium%3demail%26utm_campaign%3dunspecified&t=&e=karolin.peters%254!0nkf.ch&h=949d75bf

http://zixvpm.infosecpartners.co.uk/?a=2541&m=&n=&s=a60000000bf20e&u=http%3a%2f%2fwww.es.com%2flongh%2f%3fusername%3dargue32%26utm_source%3d%26utm_medium%3demail%26utm_campaign%3dunspecified&t=&e=vicki.dargue%40pla!cesforpeople.co.uk&h=8b1c26e4


Can some one share some thoughts on how this is behaving like this?

Viewing all 488 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>