System.Web.Compilation.CompilationException
CS0246: The type or namespace name `BillingClient_SS' could not be found. Are you missing an assembly reference?
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Details: CS0246: The type or namespace name `BillingClient_SS' could not be found. Are you missing an assembly reference?
Error origin: Compiler
Error source file: /var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs
Exception stack trace:
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00312] in <a0cf28d1b51f4484bc8478653eeeba81>:0
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00008] in <a0cf28d1b51f4484bc8478653eeeba81>:0
at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, System.Boolean debug) [0x00202] in <a0cf28d1b51f4484bc8478653eeeba81>:0
at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, System.Boolean debug) [0x00106] in <a0cf28d1b51f4484bc8478653eeeba81>:0
Error source context:
Error lines: 105, 110, 209, 214, 222
103: else
104: {
105: BillingClient_SS.SS SSObj = new BillingClient_SS.SS();
106: string SSArguments = string.Empty;
107: string RemoteIP = GFPlusHelper.GetUserRemoteIP();
1: using System;
2: using System.Collections.Generic;
3: using System.Web;
4: using System.Web.UI;
5: using System.Web.UI.WebControls;
6: using Newtonsoft.Json;
7: using System.Web.UI.HtmlControls;
8:
9: public partial class action_ss_tt_20170816_index : System.Web.UI.Page
10: {
11: string ActionID = "ACT170816";
12:
13: protected void Page_Load(object sender, EventArgs e)
14: {
15: Boolean Login_Pass = false;
16: string PF_Source = string.Empty; //平台
17: string PF_Account = string.Empty; //平台帳號
18: string GFP_Key = string.Empty; //KEY
19: string GFP_UID = string.Empty; //GFP帳號
20:
21: LoginBut.Visible = false;
22: content3.Visible = true;
23: UserInfoPanel.Visible = false;
24: PriceOne.Visible = false;
25: PriceTen.Visible = false;
26: PriceHundred.Visible = false;
27:
28: // 取得IP
29: string Remote_IP = GFPlusHelper.GetUserRemoteIP();
30:
31: // 根據Cookies判斷是否登入
32: if (Request.Cookies["Platform"] != null)
33: PF_Source = Request.Cookies["Platform"].Value.ToString().ToLower();
34: if (Request.Cookies["PlatformUID"] != null)
35: PF_Account = Request.Cookies["PlatformUID"].Value;
36: if (Request.Cookies["GFPKey"] != null)
37: GFP_Key = Request.Cookies["GFPKey"].Value;
38: if (Request.Cookies["GFPUID"] != null)
39: GFP_UID = Request.Cookies["GFPUID"].Value;
40:
41: // 登入驗證(驗證Cookies)
42: if (string.IsNullOrEmpty(PF_Source) || string.IsNullOrEmpty(PF_Account) || string.IsNullOrEmpty(GFP_Key) || string.IsNullOrEmpty(GFP_UID))
43: {
44: LoginStatus.Value = "NonLogin";
45: LoginBut.Visible = true;
46: content3.Visible = false;
47: GFPUserID.Text = "";
48:
49: return;
50: }
51: else
52: {
53: // 登入驗證(跟資料庫進行確認)
54: GFP_DLL.GFP GFPObj = new GFP_DLL.GFP();
55: string LoginTemp = GFPObj.Execute("CheckLogin|" + PF_Source + "|" + PF_Account + "|" + GFP_Key + "|" + Remote_IP);
56: string[] LoginInfo = LoginTemp.Split('|');
57: GFPObj.Dispose();
58:
59: if (LoginInfo[0] == "1")
60: Login_Pass = true;
61: else
62: Login_Pass = false;
63:
64: // 顯示登入狀態
65: if (Login_Pass == true)
66: {
67: LoginStatus.Value = "Login";
68: LoginBut.Visible = false;
69: content3.Visible = true;
70: GFPUserID.Text = GFP_UID;
71: }
72: else
73: {
74: LoginStatus.Value = "NonLogin";
75: LoginBut.Visible = true;
76: content3.Visible = false;
77: GFPUserID.Text = "";
78: }
79: }
80: }
81:
82: protected void SSGameServer_SelectedIndexChanged(object sender, EventArgs e)
83: {
84: string GFP_UID = string.Empty;
85: string GFP_Key = string.Empty;
86: string ServerID = SSGameServer.SelectedValue ?? "";
87:
88: if (Request.Cookies["GFPUID"] != null)
89: GFP_UID = Request.Cookies["GFPUID"].Value;
90: if (Request.Cookies["GFPKey"] != null)
91: GFP_Key = Request.Cookies["GFPKey"].Value;
92:
93: if (string.IsNullOrEmpty(GFP_UID) || string.IsNullOrEmpty(GFP_Key))
94: {
95: Msgbox("請登入GF+會員。");
96: return;
97: }
98: else if (ServerID == "0" || string.IsNullOrEmpty(ServerID))
99: {
100: Msgbox("請選擇伺服器。");
101: return;
102: }
103: else
104: {
105: BillingClient_SS.SS SSObj = new BillingClient_SS.SS();
106: string SSArguments = string.Empty;
107: string RemoteIP = GFPlusHelper.GetUserRemoteIP();
108:
109: SSArguments = "Action_AnyV2|" + GFP_UID + "|" + ServerID + "|||1|" + ActionID;
110: string temp = SSObj.ExecFunction(SSArguments);
111:
112: string[] BillInfo = temp.Split('|');
113:
114: if (BillInfo[0] == "1")
115: {
116: string OutputInfo = String.Format("目前已儲值{0}元 已抽獎次數:{1}次 剩餘抽獎次數:{2}次(含加贈抽獎次數:{3}次)", BillInfo[1], BillInfo[4], BillInfo[2], BillInfo[3]);
117: UserInfoPanel.InnerHtml = OutputInfo;
118: UserInfoPanel.Visible = true;
119:
120: int PlayCount = 0;
121: if (int.TryParse(BillInfo[2], out PlayCount))
122: {
123: if (PlayCount >= 1 && PlayCount < 10)
124: {
125: PriceOne.Visible = true;
126: PriceTen.Visible = false;
127: PriceHundred.Visible = false;
128: }
129: else if (PlayCount >= 10 && PlayCount < 100)
130: {
131:
132: PriceOne.Visible = true;
133: PriceTen.Visible = true;
134: PriceHundred.Visible = false;
135: }
136: else if (PlayCount >= 100)
137: {
138:
139: PriceOne.Visible = true;
140: PriceTen.Visible = true;
141: PriceHundred.Visible = true;
142: }
143: else
144: {
145: PriceOne.Visible = false;
146: PriceTen.Visible = false;
147: PriceHundred.Visible = false;
148: }
149: }
150: }
151: else
152: {
153: Msgbox(BillInfo[1]);
154: UserInfoPanel.Visible = false;
155: PriceOne.Visible = false;
156: PriceTen.Visible = false;
157: PriceHundred.Visible = false;
158: }
159: }
160:
161: Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "buttonStartup", "toEventPanel();", true);
162:
163: }
164:
165: protected void Gatya_Click(object sender, EventArgs e)
166: {
167: string GatyaID = string.Empty;
168: string GatyaTimes = "0";
169: string GFP_UID = string.Empty;
170: string GFP_Key = string.Empty;
171: string ServerID = SSGameServer.SelectedValue ?? "";
172:
173: GatyaID = ((LinkButton)sender).ID;
174:
175: if (GatyaID == "PriceOne")
176: {
177: GatyaTimes = "1";
178: }
179: else if (GatyaID == "PriceTen")
180: {
181: GatyaTimes = "10";
182: }
183: else if (GatyaID == "PriceHundred")
184: {
185: GatyaTimes = "100";
186: }
187: else
188: {
189: GatyaTimes = "0";
190: }
191:
192: if (Request.Cookies["GFPUID"] != null)
193: GFP_UID = Request.Cookies["GFPUID"].Value;
194: if (Request.Cookies["GFPKey"] != null)
195: GFP_Key = Request.Cookies["GFPKey"].Value;
196:
197: if (string.IsNullOrEmpty(GFP_UID) || string.IsNullOrEmpty(GFP_Key))
198: {
199: Msgbox("請登入GF+會員。");
200: return;
201: }
202: else if (ServerID == "0" || string.IsNullOrEmpty(ServerID))
203: {
204: Msgbox("請選擇伺服器。");
205: return;
206: }
207: else
208: {
209: BillingClient_SS.SS SSObj = new BillingClient_SS.SS();
210: string SSArguments = string.Empty;
211: string RemoteIP = GFPlusHelper.GetUserRemoteIP();
212:
213: SSArguments = "Action_Any_Write|" + GFP_UID + "|" + ServerID + "|" + GatyaTimes + "||3|" + ActionID;
214: string temp = SSObj.ExecFunction(SSArguments);
215: string[] ItemInfo = temp.Split('|');
216:
217: if (ItemInfo[0] == "1")
218: {
219: Msgbox("恭喜您中獎,詳細虛寶內容及道具序號請至GF+訊息中心查詢!");
220:
221: SSArguments = "Action_AnyV2|" + GFP_UID + "|" + ServerID + "|||1|" + ActionID;
222: string temp2 = SSObj.ExecFunction(SSArguments);
223: string[] BillInfo = temp2.Split('|');
224:
225: if (BillInfo[0] == "1")
226: {
227: string OutputInfo = String.Format("目前已儲值{0}元 已抽獎次數:{1}次 剩餘抽獎次數:{2}次(含加贈抽獎次數:{3}次)", BillInfo[1], BillInfo[4], BillInfo[2], BillInfo[3]);
228: UserInfoPanel.InnerHtml = OutputInfo;
229: UserInfoPanel.Visible = true;
230:
231: int PlayCount = 0;
232: if (int.TryParse(BillInfo[2], out PlayCount))
233: {
234: if (PlayCount >= 1 && PlayCount < 10)
235: {
236: PriceOne.Visible = true;
237: PriceTen.Visible = false;
238: PriceHundred.Visible = false;
239: }
240: else if (PlayCount >= 10 && PlayCount < 100)
241: {
242:
243: PriceOne.Visible = true;
244: PriceTen.Visible = true;
245: PriceHundred.Visible = false;
246: }
247: else if (PlayCount >= 100)
248: {
249:
250: PriceOne.Visible = true;
251: PriceTen.Visible = true;
252: PriceHundred.Visible = true;
253: }
254: else
255: {
256: PriceOne.Visible = false;
257: PriceTen.Visible = false;
258: PriceHundred.Visible = false;
259: }
260: }
261: }
262: }
263: else
264: {
265: Msgbox(ItemInfo[1]);
266: }
267: }
268:
269: Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "buttonStartup", "toEventPanel();", true);
270:
271: }
272:
273: protected void Action_Login(object sender, EventArgs e)
274: {
275: Response.Redirect("/account/alonelogin.aspx?uri=" + Server.UrlEncode("/action/ss/tt_20170816/index.aspx"));
276: }
277:
278: protected void Action_Logout(object sender, EventArgs e)
279: {
280: // 登出:清除Cookies
281: Response.Cookies["GFPKey"].Value = "";
282: Response.Cookies["Platform"].Value = "";
283: Response.Cookies["PlatformUID"].Value = "";
284: Response.Cookies["GFPMember"].Value = "";
285: Response.Cookies["GFPStatus"].Value = "";
286: Response.Cookies["GFPUID"].Value = "";
287:
288: // 登出:設定Cookies存活時間為-1秒
289: Response.Cookies["GFPKey"].Expires = DateTime.Now.AddMinutes(-1);
290: Response.Cookies["Platform"].Expires = DateTime.Now.AddMinutes(-1);
291: Response.Cookies["PlatformUID"].Expires = DateTime.Now.AddMinutes(-1);
292: Response.Cookies["GFPMember"].Expires = DateTime.Now.AddMinutes(-1);
293: Response.Cookies["GFPStatus"].Expires = DateTime.Now.AddMinutes(-1);
294: Response.Cookies["GFPUID"].Expires = DateTime.Now.AddMinutes(-1);
295:
296: // 登出:導回首頁
297: LoginStatus.Value = "NonLogin";
298: LoginBut.Visible = true;
299: content3.Visible = false;
300: GFPUserID.Text = "";
301: }
302:
303: #region 彈跳錯誤訊息
304: private void Msgbox(string msg)
305: {
306: Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "buttonStartup", "alert(\"" + msg + "\");", true);
307: }
308:
309: private void MsgboxUrl(string msg, string url)
310: {
311: Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "buttonStartup", "alert(\"" + msg + "\"); document.location.href=\"" + url + "\";", true);
312: }
313: #endregion
314: }
/usr/jexus/runtime/bin/mcs /target:library /lib:"/var/www/web_GFP_5100/bin" /debug- /optimize+ /warn:4 /out:"/tmp/jws-asp-temp/pid-1170/1b4faeb4/aec406a9/App_Web_j9toayjj.dll" /r:"/usr/jexus/runtime/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Web.Services/4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.IdentityModel/4.0.0.0__b77a5c561934e089/System.IdentityModel.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Xaml/4.0.0.0__b77a5c561934e089/System.Xaml.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.ServiceModel.Web/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Web.Extensions/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.ComponentModel.DataAnnotations/4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Web.DynamicData/4.0.0.0__31bf3856ad364e35/System.Web.DynamicData.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Data.Linq/4.0.0.0__b77a5c561934e089/System.Data.Linq.dll" /r:"/usr/jexus/runtime/lib/mono/gac/System.Web.ApplicationServices/4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll" /r:"/tmp/jws-asp-temp/pid-1170/1b4faeb4/aec406a9/App_Code.2de6af76.dll" /r:"/var/www/web_GFP_5100/bin/VCodeDLL.dll" /r:"/var/www/web_GFP_5100/bin/MainTain_DLL.dll" /r:"/var/www/web_GFP_5100/bin/GSClient.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_GJ.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_DN.dll" /r:"/var/www/web_GFP_5100/bin/BillingClinet_SMS2.dll" /r:"/var/www/web_GFP_5100/bin/GoogleRecaptcha.dll" /r:"/var/www/web_GFP_5100/bin/MobileGameDll.dll" /r:"/var/www/web_GFP_5100/bin/MySql.Data.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_TZ.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_3KD.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_ROII.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_PDM.dll" /r:"/var/www/web_GFP_5100/bin/Newtonsoft.Json.dll" /r:"/var/www/web_GFP_5100/bin/GFP_DLL_TEST.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_QB.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_ST.dll" /r:"/var/www/web_GFP_5100/bin/GFP_DLL.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_DS.dll" /r:"/var/www/web_GFP_5100/bin/SCode.dll" /r:"/var/www/web_GFP_5100/bin/MyDLL.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_W2.dll" /r:"/var/www/web_GFP_5100/bin/BillingClient_GFMessage.dll" /nowarn:0169 /noconfig /noconfig -- "/tmp/jws-asp-temp/pid-1170/1b4faeb4/aec406a9/App_Web_j9toayjj_1.cs" "/tmp/jws-asp-temp/pid-1170/1b4faeb4/aec406a9/App_Web_j9toayjj_2.cs"
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(105,13): error CS0246: The type or namespace name `BillingClient_SS' could not be found. Are you missing an assembly reference?
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(110,27): error CS0841: A local variable `SSObj' cannot be used before it is declared
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(209,13): error CS0246: The type or namespace name `BillingClient_SS' could not be found. Are you missing an assembly reference?
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(214,27): error CS0841: A local variable `SSObj' cannot be used before it is declared
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(222,32): error CS0841: A local variable `SSObj' cannot be used before it is declared
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(105,13): error CS0246: The type or namespace name `BillingClient_SS' could not be found. Are you missing an assembly reference?
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(110,27): error CS0841: A local variable `SSObj' cannot be used before it is declared
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(209,13): error CS0246: The type or namespace name `BillingClient_SS' could not be found. Are you missing an assembly reference?
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(214,27): error CS0841: A local variable `SSObj' cannot be used before it is declared
/var/www/web_GFP_5100/action/ss/tt_20170816/index.aspx.cs(222,32): error CS0841: A local variable `SSObj' cannot be used before it is declared