PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Change analisys connection on IIS
Change analisys connection on IIS
Started by Hernandez, Oct., 14 2018 3:58 AM - 4 replies
Connect yourself…
Hernandez
#1
Registered member
28 messages
Posted on October, 14 2018 - 3:58 AM
Hi,
I have a Web Dev application published on IIS. I need to change the database connection because I do not have permissions to connect to the test environment.
Thanks in advanced.
Report
0
0
CV
#2
Registered member
204 messages
Popularité : +5 (5 votes)
Posted on October, 14 2018 - 10:15 AM
If I really understand what you need, try (in the project's code) :
IF InTestMode() = True THEN
HchangeDir("*","C:\MyPathOnMyTestEnvironment\")
END
Report
0
0
Hernandez
#3
Registered member
28 messages
Posted on October, 14 2018 - 8:22 PM
Hi,
Thanks for your answer. But I really don't understand, how that code can change my sql server name, user and password.
Is there a way to change the string connection after deployment?
Hope you can help.
Report
0
0
CV
#4
Registered member
204 messages
Popularité : +5 (5 votes)
Posted on October, 14 2018 - 11:29 PM
Ok sorryI misunderstood your need.
I don't see how to achieve what you want.
What I suggested allows to switch between two bases, assuming you have control of the webdev app, one base on your test environment, the other for real conditions.
Sorry I can't help.
Report
0
0
Piet van Zanten
#5
Registered member
17 messages
Popularité : +1 (1 vote)
Posted on October, 15 2018 - 10:28 AM
Hi Hernandez,
Look at the Help for hOpenConnection.
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text