mardi 21 septembre 2021

Could not open web page from web service

It is a simple program that opens a web site in a web service written in VB .NET.

It works fine when I test it in Visual Studio, but after applying it to IIS, I can't open the Web Page.

            cmd.Parameters.Add(ParamRet)
            cmd.CommandText = "[dbo].[usp_ins_inq_log]"
            cmd.ExecuteNonQuery()

            Dim ReturnVal As Int32 = cmd.Parameters("@P_OutId").Value

            conn.Close()


            sUrl = sUrl + "?Id=" + ReturnVal.ToString()

            Process.Start("chrome.exe", sUrl)

Aucun commentaire:

Enregistrer un commentaire