View Full Version : Chrome V2 download issues
futurevr4man
01-08-2013, 04:57 PM
*ISSUE RESOLVED
hi, this is mainly aimed at greg, but i dont think that he wants a pm about this, and it will be better for others to see this in case they have this issue.
i donated money, and got the email... thats all fine. but after going to the link in the email when i press download, the page reloads and looks like this:
i dont know what the issue is, but i would like to flash to chrome V2
also, i had a fuel pump check engine light come on, and wasnt sure what that applied to. i had some 02 sensor and EVAP codes pop up as well, so im hoping i can get all of those cleared in chrome V2.
any help is greatly appreciated greg! thanks for all your work, the flashing went very smooth and your writeups are awesome!
Chris@Rvengeperformance
01-08-2013, 06:15 PM
copy that link to your clipboard, open a new tab, paste it in and hit enter. See if it downloads then. The browser is not recognizing it as a download and is rendering it in the browser. Can happen sometimes depending on how they are writing the response variables.
you may also try pasting that link into firefox or ie.
Chris@Rvengeperformance
01-08-2013, 06:19 PM
fyi, you should take that screenshot down when you figure this out. That link works in my browser and would be uniquely linked to your donation.
futurevr4man
01-08-2013, 08:31 PM
thanks for your help chris. i hope no one stole anything... i wonder what the issue was. i opened it in IE and it worked fine... thats frustrating. i never use IE so i didnt even think to try that
Greg E
01-08-2013, 10:15 PM
There is something wrong with evoscan 2.9 and reading the CEL codes. I don't know if it got resolved in the latest version but I still use evoscan 2.6 for reading/clearing codes.
In the future if anyone has issues downloading I can email you the file too. :)
futurevr4man
01-08-2013, 10:32 PM
to be clear, it wasnt evoscan that was the issue, but it was the actual Chrome V2 xml and bin files that would not download to my computer.
i am hoping now that i got chrome v2 that i can get the correct peripheries turned off to keep the check engine light on and off as it should be.
you have any input on that fuel pump CEL? still not sure what its referring to... but i got them turned off fine on 2.6
Greg E
01-08-2013, 10:58 PM
There is no such thing as a fuel pump CEL. The problem is with evoscan. It makes up false codes regardless if the CEL is on or not.
Chrome is a stock American ROM with a few add ons. Nothing more. It displays the same codes as a stock 99 VR4 would.
futurevr4man
01-08-2013, 11:10 PM
ah - i see what youre saying. thanks!
Greg E
01-08-2013, 11:18 PM
ah - i see what youre saying. thanks!
Never guess how long it took me to figure that issues out....
First time I experienced it, the CEL was on because I forgot to disable a periphery. Read the code with 2.9 and it said the speedo. There is no CEL for the speedo... Cleared it, then it said the issue was the knock sensor. Cleared it, checked it again, it said speedo again.
Flashed a stock ROM back on. Same issues..
Finally got the idea to use evoscan 2.6 to get the real code... Nearly went bald in the process.
futurevr4man
01-08-2013, 11:40 PM
i have both downloaded, and i will keep them. this computer is only for the vr4, so i can keep it as is!
maybe my silly questions should go in the q/a area? i have a feeling a lot of people will have these plus a ton more
Chris@Rvengeperformance
01-08-2013, 11:44 PM
hey greg, slightly off topic, but have you seen this in the ecuflash update notification:
bug fixes:
"Fix H8539FA kernel to flash reliably!"
I have not updated ecuflash yet, do you recommend it? any changes necessary?
Greg E
01-08-2013, 11:58 PM
hey greg, slightly off topic, but have you seen this in the ecuflash update notification:
bug fixes:
"Fix H8539FA kernel to flash reliably!"
I have not updated ecuflash yet, do you recommend it? any changes necessary?
I saw that in the comments when I updated. No clue what the "fix" is...
Haven't played with the new ECUFlash much other than using for disassembly purposes.
futurevr4man
01-09-2013, 12:13 AM
greg, is the following thinking correct:
under launch control
stationary rev limit is the max rev limit that the 2-step will rev to?
i ask because there are two areas to set timing, the ignition retard and ignition retard limit.
the way im seeing it, the anti lag takes out the ignition retard at whatever start RPM you set it at, and by the rev limit it has taken out the timing to the ignition retard limit.
you have any recommendations on what you should set everything to? i know how timing and whatnot work, i have never messed with a 2 step though, so its hard to put it in perspective. also curious as to what afr i should set?
Greg E
01-09-2013, 12:20 AM
You got it!
Start with the default settings. I added or took away the rev limit depending on track conditions and 60ft times. Never needed to change enrichment or ignition limit. Then again, a larger turbo may need more fuel and less timing to spool.
Chris@Rvengeperformance
01-09-2013, 12:23 AM
watch out when you upgrade ecuflash, it deletes your xml definitions. easy to fix, but something to know.
Greg E
01-09-2013, 12:25 AM
watch out when you upgrade ecuflash, it deletes your xml definitions. easy to fix, but something to know.
It doesn't delete them. It moves them into the backup folder.
Chris@Rvengeperformance
01-09-2013, 12:29 AM
fair enough, just for others they need to know to copy them back
99 vr4
01-09-2013, 09:46 AM
*ISSUE RESOLVED
hi, this is mainly aimed at greg, but i dont think that he wants a pm about this, and it will be better for others to see this in case they have this issue.
i donated money, and got the email... thats all fine. but after going to the link in the email when i press download, the page reloads and looks like this:
i dont know what the issue is, but i would like to flash to chrome V2
also, i had a fuel pump check engine light come on, and wasnt sure what that applied to. i had some 02 sensor and EVAP codes pop up as well, so im hoping i can get all of those cleared in chrome V2.
any help is greatly appreciated greg! thanks for all your work, the flashing went very smooth and your writeups are awesome!
Please send me the screen shot of the error, windows version, and which browser you are using. brett_farnam@yahoo dot com
I wrote the web app using vb.net and it was tested with windows xp/ie 8. This is an older version for testing and most newer versions of ie work just fine. I may need to test it with a different browser.
ForestGump, I call a response redirect for a ZIP file. RAR files usually end up rendering in the browser because of the way that win rar integrates itself as a browser helper. On win xp / ie 8 I noticed that problem with win rar. Zip files were recognized as a download so I figured the problem was solved. In the end it's all in how the browser interprets the mime type and how it is set up to treat that type of file.
Brett
Chris@Rvengeperformance
01-09-2013, 09:56 AM
Please send me the screen shot of the error, windows version, and which browser you are using. brett_farnam@yahoo dot com
I wrote the web app using vb.net and it was tested with windows xp/ie 8. This is an older version for testing and most newer versions of ie work just fine. I may need to test it with a different browser.
ForestGump, I call a response redirect for a ZIP file. RAR files usually end up rendering in the browser because of the way that win rar integrates itself as a browser helper. On win xp / ie 8 I noticed that problem with win rar. Zip files were recognized as a download so I figured the problem was solved. In the end it's all in how the browser interprets the mime type and how it is set up to treat that type of file.
Brett
hi Brett,
Without seeing your implementation I don't know exactly what you are sending, but this has worked well for us:
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment; filename="' & file.Name.Replace(" ", "_") & "'")
Response.AddHeader("Content-Length", file.Length.ToString())
Response.AddHeader("Expires", "0")
Response.AddHeader("Pragma", "cache")
Response.AddHeader("Cache-Control", "private")
Select Case file.Extension.ToLower()
Case ".pdf"
Response.ContentType = "application/pdf"
Case ".doc"
Response.ContentType = "application/msword"
Case ".docx"
Response.ContentType = "application/msword"
Case ".mp3"
Response.ContentType = "audio/mpeg3"
Case ".jpg"
Response.ContentType = "image/jpeg"
Case ".jpeg"
Response.ContentType = "image/jpeg"
Case ".xls"
Response.ContentType = "application/vnd.ms-excel"
Case ".ppt"
Response.ContentType = "application/vnd.ms-powerpoint"
Case ".gif"
Response.ContentType = "image/gif"
Case ".bmp"
Response.ContentType = "image/gif"
Case ".zip"
Response.ContentType = "application.zip"
Case Else
Response.ContentType = "application/octet-stream"
End Select
Response.TransmitFile(file.FullName)
Response.End()
-Chris
futurevr4man
01-09-2013, 11:23 AM
brett, i can try and recreate it if you like but i deleted the screen shot because i didnt want anyone using my copy. i was using google chrome though for what its worth. it worked fine in IE.
99 vr4
01-09-2013, 11:47 AM
I had tried various implementations of the response function but ultimately found redirect to work... Mainly there is code that has to fire AFTER the file is served... namely db updates. Also the method I use now obfuscates the actual file name.
However, I will try response.transmitfilename as I don't think I tried that...
No need to recreate the error. Google chrome has built in "helpers" and viewers which don't really help... Lol
Chris@Rvengeperformance
01-09-2013, 12:03 PM
you can set the file name in the headers to anything you want. There is some code missing above that creates the file object using the actual path to the file on the server.
I also pull the file out of a folder outside of the web root, even if they had the real filename it would not be possible to download it.
99 vr4
01-09-2013, 03:39 PM
Chris . . . I looked at some of my old code when I was trying to get this to work . . .
Sub btnDownload_Click(Sender As Object, E As EventArgs)
if page.IsValid
Response.ContentType = "application/zip"
Response.AppendHeader("Content-Disposition","attachment; filename=MySaveAsFile.zip")
Response.TransmitFile( server.mappath("MyPath/MyFile.zip") )
Response.End
end if
End Sub
This did not work as we would expect. Although the file transmitted flawlessly, response.end terminates any further code execution. and there is more code in the current sub to update the databases that the file was indeed downloaded. I even tried:
Server.Execute("MyPath/MyFile.zip")
What I have now is as follows:
Sub btnDownload_Click(Sender As Object, E As EventArgs)
if page.IsValid
' First get the purchase data (This should have already been done)
getPurchaseData()
' Serve the file - will auto rename to the page name with ".zip"
if vPurchasedFile = "Chrome SL v1.0 Donation" then Server.Execute("MyPath/MyFile.zip")
if vPurchasedFile = "Chrome v2.0 Donation" then Server.Execute("MyPath/MyFile.zip")
' increment the downloads
vNumberDownloads = vNumberDownloads + 1
' update the Purchase database with the total number of downloads
' strSQL = "UPDATE [Purchased] SET [Downloads]='" & vNumberDownloads & "' and [EULA] = "true" WHERE tGUID='" & session("vGUID") & "'"
strSQL = "(UPDATE [Purchased] SET [Downloads] = @NumDownloads, [EULA] = @EULADone WHERE [tGUID] = @vGUID)"
dbCommand = New OleDbCommand(strSQL, objConnection)
dbCommand.Parameters.AddWithValue("@NumDownloads", vNumberDownloads)
dbCommand.Parameters.AddWithValue("@EULADone", "1")
dbCommand.Parameters.AddWithValue("@vGUID", session("vGUID"))
Try
objConnection.Open()
dbCommand.ExecuteNonQuery()
Catch ex As Exception
Response.Write("<h2 class=""b_maroon"">" & ex.Message & "</h2>")
Response.End
Finally
If objConnection.State = ConnectionState.Open Then objConnection.Close()
End Try
' Response.Write("<h2 class=""b_orange"">A purchase record has been updated!!</h2>")
' Create the NEW download completed record and insert into the database
strSQL = "INSERT INTO Downloads (tGUID, dDate, dIP) VALUES (@tGUID, @dDate, @dIP)"
dbCommand = New OleDbCommand(strSQL, objConnection)
dbCommand.Parameters.AddWithValue("@tGUID", session("vGUID"))
dbCommand.Parameters.AddWithValue("@dDate", DateTime.Now.ToString())
dbCommand.Parameters.AddWithValue("@pIP", UserIPAddress)
Try
objConnection.Open()
dbCommand.ExecuteNonQuery()
Catch ex As Exception
Response.Write("<h2 class=""b_maroon"">" & ex.Message & "</h2>")
Response.End
Finally
If objConnection.State = ConnectionState.Open Then objConnection.Close()
End Try
' Response.Write("<h2 class=""b_orange"">A new download record has been added!!</h2>")
End If
End Sub
If you could shed some light on a better way of doing this I would love to hear it. I thought about using a popup but most browsers block the popups. The popup could be passed hidden parms to enable the down load and the db update code could still be run.
The page logic is as follows:
Is there a admin query present in the QueryString?
Then show admin data. Page Quit.
Else Is this a PayPal return (from purchase/donation)?
Then show finalize PayPal purchase/donation by
creating db records
generate email
show download button
Else Is this a return file download?
Then determine if download allowed (max days, max downloads)
if agreed to terms then precheck the terms box and show download button
Else show error
Else This MUST be a first visit
show first impression with donation buttons
There is also present a css and I have not moved this to code behind mainly becuase there is very little code - its mostly building the output which is displayed via response.write. I traditionally was an asp developer and asp.net is new to me over the past year. VB vs. VB.net really had a lot of little syntax changes that caused me great headaches . . . LOL
Powered by vBulletin® Version 4.2.3 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.